[sdks] Fix README.md
[mono-project.git] / mcs / tests / gtest-027.cs
blobcb2650e682a23918074f4fbcfd1c1211240df382
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 public static void Main ()
33 { }