remove NotWorking
[mcs.git] / tests / gtest-anon-50.cs
blobde85856e3b8b4b73aaa5f3c9d36e5b089e6fe526
1 class M
3 public static int Main ()
5 new SomeGenericClass<int>().FailsToCompile ();
6 return 0;
10 class SomeGenericClass<SomeType>
12 object someValue;
13 delegate void SomeHandlerType ();
15 void Invoke (SomeHandlerType h)
19 public void FailsToCompile ()
21 Invoke (delegate {
22 object someObject = 1;
23 Invoke (delegate {
24 someValue = someObject;
25 });
26 });