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

29 lines
289 B
C#

class Demo
{
public void Test (object arg)
{
}
static int Test (int i)
{
return i;
}
delegate int D (int t);
int GetPhones ()
{
D d = Test;
return d (55);
}
public static int Main ()
{
int r = new Demo ().GetPhones ();
if (r != 55)
return 1;
return 0;
}
}