2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
[mono.git] / mcs / tests / gen-27.cs
1 class TheBase
2 {
3         public void BaseFunc ()
4         { }
5 }
6
7 class Stack<S> : TheBase
8 {
9         public void Hello (S s)
10         { }             
11 }
12
13 class Test<T> : Stack<T>
14 {
15         public void Foo (T t)
16         { }
17 }
18
19 class X
20 {
21         Test<int> test;
22
23         void Test ()
24         {
25                 test.Foo (4);
26                 test.Hello (3);
27                 test.BaseFunc ();
28         }
29
30         static void Main ()
31         { }
32 }