[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / gtest-012.cs
bloba7cc66f1ee2d7854953c68f30df2efacedeea940
1 // A generic type definition may have another generic type
2 // definition as its parent.
4 class Stack<S>
6 public void Hello (S s)
7 { }
10 class Test<T> : Stack<T>
12 public void Foo (T t)
13 { }
16 class X
18 Test<int> test;
20 void Test ()
22 test.Foo (4);
23 test.Hello (3);
26 public static void Main ()
27 { }