Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / tests / gtest-027.cs
1 // A generic type declaration may have a non-generic base type.
2
3 class TheBase
4 {
5         public void BaseFunc ()
6         { }
7 }
8
9 class Stack<S> : TheBase
10 {
11         public void Hello (S s)
12         { }             
13 }
14
15 class Test<T> : Stack<T>
16 {
17         public void Foo (T t)
18         { }
19 }
20
21 class X
22 {
23         Test<int> test;
24
25         void Test ()
26         {
27                 test.Foo (4);
28                 test.Hello (3);
29                 test.BaseFunc ();
30         }
31
32         static void Main ()
33         { }
34 }