[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-884.cs
blob50519a790eea25b6abba0caf73c1717c2c97ad29
1 // Compiler options: -optimize
3 using System;
5 class C
7 static void Main ()
9 AddEH<string> ();
12 static void AddEH<T>()
14 var e = new E<T> ();
15 e.EEvent += EHandler;
18 static void EHandler ()
22 class E<T>
24 public delegate void EMethod ();
25 public event EMethod EEvent;