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>2014-02-17 14:12:35 +0400
committerMarek Safar <marek.safar@gmail.com>2014-02-17 14:15:34 +0400
commit3f08ba83cc73218377a3b10929f87e1335e5bd63 (patch)
tree5eb4b67e31bea3239fde10c4ed05209369fa495a /mcs/tests/gtest-604.cs
parent657b95a863d7cb2799718ea86ba745ceb2e5bfc6 (diff)
[mcs] Add nested types handling to check whether types unify for some type parameter substitutions. Fixes #17647
Diffstat (limited to 'mcs/tests/gtest-604.cs')
-rw-r--r--mcs/tests/gtest-604.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/tests/gtest-604.cs b/mcs/tests/gtest-604.cs
new file mode 100644
index 00000000000..7b142a6c96a
--- /dev/null
+++ b/mcs/tests/gtest-604.cs
@@ -0,0 +1,12 @@
+class A<T>
+{
+ public interface IB { }
+}
+
+class E : A<int>.IB, A<string>.IB
+{
+ public static void Main ()
+ {
+ new E ();
+ }
+}