dlr bug
[mcs.git] / tests / gtest-027.cs
blob4fdf4fd24c123350d196d29d67b279f04ebff61d
1 // A generic type declaration may have a non-generic base type.
3 class TheBase
5 public void BaseFunc ()
6 { }
9 class Stack<S> : TheBase
11 public void Hello (S s)
12 { }
15 class Test<T> : Stack<T>
17 public void Foo (T t)
18 { }
21 class X
23 Test<int> test;
25 void Test ()
27 test.Foo (4);
28 test.Hello (3);
29 test.BaseFunc ();
32 static void Main ()
33 { }