diff options
author | Marek Safar <marek.safar@gmail.com> | 2010-06-18 11:20:25 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2010-06-18 11:20:25 +0400 |
commit | 8b58be3496a10e9a90f3735a5618da2387e69c22 (patch) | |
tree | 57539c77b71cba6144c0bd888385f7a01136064b /mcs/tests/gtest-519.cs | |
parent | ab7a1d6bb8802e143d2acdb8d4a71e0e99e26296 (diff) |
New tests.
svn path=/trunk/mcs/; revision=159121
Diffstat (limited to 'mcs/tests/gtest-519.cs')
-rw-r--r-- | mcs/tests/gtest-519.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/gtest-519.cs b/mcs/tests/gtest-519.cs new file mode 100644 index 00000000000..a571012119f --- /dev/null +++ b/mcs/tests/gtest-519.cs @@ -0,0 +1,19 @@ +class G<T> +{ +} + +interface I +{ + void Foo<T> () where T : G<T>; +} + +class A : I +{ + public void Foo<U> () where U : G<U> + { + } + + public static void Main () + { + } +}
\ No newline at end of file |