2005-06-03 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / tests / 2test-a4.cs
1 delegate void S ();
2 using System;
3
4 class X {
5         static void Main ()
6         {
7                 int a = 1;
8                 S b = delegate {
9                         a = 2;
10                 };
11                 b ();
12                 Console.WriteLine ("Back, got " + a);
13         }
14 }