[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-372.cs
blobb4ed67f0829d73034c3f4152be26f4c9b3bb4c63
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 public static int Main ()
19 new TestClass<object> ().Check (null, null);
20 new TestClass2<C> ().Check (null, null);
21 return 0;