Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
267 B
C#

class C
{
public static int Main ()
{
new C ().Foo ();
return 0;
}
delegate void D ();
void Foo ()
{
int x = 0;
D d1 = delegate () {
int y = 1;
if (y == 1) {
int z = 2;
D d2 = delegate () {
int a = x + y + z;
};
}
};
}
}