Merge pull request #4431 from vkargov/vk-leaking-points
[mono.git] / mcs / tests / test-252.cs
1 // testcase from #58290
2
3 delegate void Foo ();
4 class A {
5         public event Foo Bar;
6
7         public static void m1 () { }
8  
9         public static int Main ()
10         {
11                 A a = new A();
12                 a.Bar += new Foo (m1);
13                 a.Bar -= new Foo (m1);
14                 return (a.Bar == null) ? 0 : 1;
15         }
16 }
17