Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / gtest-220.cs
blobabedaa08b1aea098ad99dccfdcd1d2fe0ec91214
1 public class A<T1>
3 public T1 a;
5 public class B<T2> : A<T2>
7 public T1 b;
9 public class C<T3> : B<T3>
11 public T1 c;
16 class PopQuiz
18 public static int Main()
20 A<int>.B<char>.C<bool> o = new A<int>.B<char>.C<bool>();
21 string s = o.a.GetType().FullName;
22 System.Console.WriteLine(s);
23 if (s != "System.Boolean")
24 return 1;
26 s = o.b.GetType().FullName;
27 System.Console.WriteLine(s);
28 if (s != "System.Char")
29 return 2;
31 s = o.c.GetType().FullName;
32 System.Console.WriteLine();
33 if (s != "System.Int32")
34 return 3;
36 return 0;