[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / gtest-189.cs
blob05d0019a3f12d08a639731bcc44db711b25cdfdf
1 interface IFoo {}
2 class Bar : IFoo {}
4 class Cont<T> {
5 T f;
6 public Cont(T x) { f = x; }
7 public override string ToString ()
9 return f.ToString ();
13 class M {
14 public static void Main ()
16 Cont<IFoo> c = new Cont<IFoo> (new Bar ());
17 System.Console.WriteLine (c);