Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / test-anon-156.cs
blob11d22661add08226e111f61b6bc4ec11668f7666
1 class G<T>
3 public T def () { return default (T); }
6 class C
8 delegate void DF ();
9 static DF df;
10 static void foo (object o) { }
11 static void cf<T> ()
13 G<T> g = new G<T> ();
14 df = delegate { foo (g.def ()); };
17 public static int Main ()
19 cf<int> ();
20 df ();
21 return 0;