diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-02-17 14:12:35 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-02-17 14:15:34 +0400 |
commit | 3f08ba83cc73218377a3b10929f87e1335e5bd63 (patch) | |
tree | 5eb4b67e31bea3239fde10c4ed05209369fa495a /mcs/tests/gtest-604.cs | |
parent | 657b95a863d7cb2799718ea86ba745ceb2e5bfc6 (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.cs | 12 |
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 (); + } +} |