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

31 lines
361 B
C#

using System;
delegate void Simple ();
delegate Simple Foo ();
class X
{
public static void Hello (long k)
{ }
public static void Test (int i)
{
Hello (3);
Foo foo = delegate {
Hello (4);
return delegate {
Hello (5);
};
};
Simple simple = foo ();
simple ();
}
public static void Main ()
{
X x = new X ();
X.Test (3);
}
}