[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-327.cs
blobaf3b6b7837838b05e8358d01313a9428ea100e88
1 interface ITest
3 void Test ();
6 class Tester<T> where T : ITest, new ()
8 public void Do ()
10 new T ().Test ();
14 class Reference : ITest
16 public void Test ()
21 struct Value : ITest
23 public void Test ()
28 class C
30 public static void Main ()
32 new Tester<Reference> ().Do ();
33 new Tester<Value> ().Do ();