* MonthCalendar.cs:
[mono-project.git] / mcs / tests / a-simple.cs
blobf63b9231f64c9010dd3ed2b4c3c5717f08e74fea
1 //
2 // Parameter and return value compilation tests for anonymous methods
3 //
4 delegate void D (int x);
5 delegate void E (out int x);
7 class X {
8 static int Main ()
10 // This should create an AnonymousMethod with the implicit argument
11 D d1 = delegate {};
12 D d2 = delegate (int a) {};
14 return 0;