Fix bug #566087.
[mcs.git] / tests / test-677.cs
blob85da219543248b1f7df400e00e5fdebb108523d8
1 using System;
3 class InvokeWindow
5 public event D E;
7 public void Run ()
9 E ();
13 delegate void D ();
15 public class Test
17 public static int Main ()
19 InvokeWindow win = new InvokeWindow ();
20 win.E += new D (OnDeleteEvent);
21 win.Run ();
22 return 0;
25 static void OnDeleteEvent ()
29 void OnDeleteEvent (int i)