2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-372.cs
blobacaa58929ae45673bc8493a4d0c64dfaef5ee2ba
1 public class TestClass<T> where T : class
3 public bool Check (T x, T y) { return x == y; }
6 public class C
10 public class TestClass2<T> where T : C
12 public bool Check (T x, T y) { return x == y; }
15 public class X
17 static int Main ()
19 new TestClass<object> ().Check (null, null);
20 new TestClass2<C> ().Check (null, null);
21 return 0;