New test.
[mono.git] / mcs / tests / test-anon-51.cs
1 using System;\r
2 \r
3 public delegate void FooDelegate ();\r
4 \r
5 public class X {\r
6         public static readonly FooDelegate Print = delegate {\r
7                 Console.WriteLine ("delegate!");\r
8         };\r
9 \r
10         public static void Main ()\r
11         {\r
12                 Print ();\r
13         }\r
14 }\r