2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-anon-90.cs
blobe1c0ff44d25edb1b685c821f868d124914ea5241
1 class C
3 public static int Main ()
5 new C ().Foo ();
6 return 0;
9 delegate void D ();
11 void Foo ()
13 int x = 0;
14 D d1 = delegate () {
15 int y = 1;
16 if (y == 1) {
17 int z = 2;
18 D d2 = delegate () {
19 int a = x + y + z;