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>2010-06-18 11:20:25 +0400
committerMarek Safar <marek.safar@gmail.com>2010-06-18 11:20:25 +0400
commit8b58be3496a10e9a90f3735a5618da2387e69c22 (patch)
tree57539c77b71cba6144c0bd888385f7a01136064b /mcs/tests/gtest-519.cs
parentab7a1d6bb8802e143d2acdb8d4a71e0e99e26296 (diff)
New tests.
svn path=/trunk/mcs/; revision=159121
Diffstat (limited to 'mcs/tests/gtest-519.cs')
-rw-r--r--mcs/tests/gtest-519.cs19
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