[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / test-anon-88.cs
blobe13d8acee54e073883406e89d12f82f1e2ebb968
1 using System;
3 class C
5 public delegate void D ();
7 public static int Main ()
9 new C ().Test ();
10 return 0;
13 void Test ()
15 int l1 = 0;
17 if (l1 == 0) {
18 int l2 = 1;
19 if (l2 == 1) {
20 D dd = delegate {
21 int l3 = 2;
22 D d2 = delegate { int x = l1; int z = l3; };
23 D d22 = delegate { int x = 1; };
27 D d3 = delegate { int y = l2; };
30 D d1 = delegate { int x = l1; };