* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / tests / gtest-220.cs
1 public class A<T1>
2 {
3         public T1 a;
4
5         public class B<T2> : A<T2>
6         {
7                 public T1 b;
8
9                 public class C<T3> : B<T3>
10                 {
11                         public T1 c;
12                 }
13         }
14 }
15
16 class PopQuiz
17 {
18         static void Main()
19         {
20                 A<int>.B<char>.C<bool> o = new A<int>.B<char>.C<bool>();
21                 System.Console.WriteLine(o.a.GetType().FullName);
22                 System.Console.WriteLine(o.b.GetType().FullName);
23                 System.Console.WriteLine(o.c.GetType().FullName);
24         }
25 }