Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2016-09-14 16:40:11 +0300
committerMarek Safar <marek.safar@gmail.com>2016-09-14 16:42:26 +0300
commit8f7a1683c23d483b40aa965801f5a7998b9bfd3a (patch)
treed0d2f878d925be4e9db401f090375e6d591ba91a /mcs/tests/gtest-638.cs
parent25e0b3971549af535528315399bbda380d287679 (diff)
[mcs] Move type constraints checks after base type definition. Fixes #44212
Diffstat (limited to 'mcs/tests/gtest-638.cs')
-rw-r--r--mcs/tests/gtest-638.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/gtest-638.cs b/mcs/tests/gtest-638.cs
new file mode 100644
index 00000000000..cadf2725ebb
--- /dev/null
+++ b/mcs/tests/gtest-638.cs
@@ -0,0 +1,17 @@
+class X<T1, T2, U>
+ where T1 : class, T2
+ where T2 : class
+ where U : A, T1
+{
+}
+
+class A
+{
+}
+
+class F
+{
+ public static void Main ()
+ {
+ }
+} \ No newline at end of file