More tests.
[mono.git] / mcs / tests / gtest-372.cs
1 public class TestClass<T> where T : class
2 {
3         public bool Check (T x, T y) { return x == y; }
4 }
5
6 public class C
7 {
8 }
9
10 public class TestClass2<T> where T : C
11 {
12         public bool Check (T x, T y) { return x == y; }
13 }
14
15 public class X
16 {
17         static void Main ()
18         { }
19 }
20
21