Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / tests / test-anon-14.cs
1 // Compiler options: -langversion:default
2
3 //
4 // Anonymous method group conversions
5 //
6
7 class X {
8         delegate void T ();
9         static event T Click;
10
11         static void Method ()
12         {
13         }
14
15         static void Main ()
16         {
17                 T t;
18
19                 // Method group assignment
20                 t = Method;
21
22                 Click += Method;
23         }
24 }