linux-packaging-mono/mcs/tests/test-anon-99.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

42 lines
476 B
C#

using System;
class C
{
void Test ()
{
Action a = delegate {
{
object ca = 3;
{
int location = 0;
Action a2 = delegate {
{
location = 1;
object routing = ca;
Action a4 = delegate {
if (routing != null) {
Console.WriteLine ("ok");
}
};
a4 ();
}
};
a2 ();
}
}
};
a ();
}
public static int Main ()
{
new C ().Test ();
return 0;
}
}