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>2008-03-03 22:15:22 +0300
committerMarek Safar <marek.safar@gmail.com>2008-03-03 22:15:22 +0300
commit294dbea024b6bcd8066f9e3047d71ff345db05d6 (patch)
tree8eec8d059690fd691778cc7a140e4dd40e4a230f /mcs/tests/gtest-372.cs
parent6320a821bab8f50ef857069d7027f618a1ce465e (diff)
More tests.
svn path=/trunk/mcs/; revision=97211
Diffstat (limited to 'mcs/tests/gtest-372.cs')
-rw-r--r--mcs/tests/gtest-372.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/gtest-372.cs b/mcs/tests/gtest-372.cs
new file mode 100644
index 00000000000..0facd7cb84c
--- /dev/null
+++ b/mcs/tests/gtest-372.cs
@@ -0,0 +1,21 @@
+public class TestClass<T> where T : class
+{
+ public bool Check (T x, T y) { return x == y; }
+}
+
+public class C
+{
+}
+
+public class TestClass2<T> where T : C
+{
+ public bool Check (T x, T y) { return x == y; }
+}
+
+public class X
+{
+ static void Main ()
+ { }
+}
+
+