Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / tests / test-anon-156.cs
1 class G<T>
2 {
3         public T def () { return default (T); }
4 }
5
6 class C
7 {
8         delegate void DF ();
9         static DF df;
10         static void foo (object o) { }
11         static void cf<T> ()
12         {
13                 G<T> g = new G<T> ();
14                 df = delegate { foo (g.def ()); };
15         }
16
17         static int Main ()
18         {
19                 cf<int> ();
20                 df ();
21                 return 0;
22         }
23 }