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

31 lines
278 B
C#

using System;
public class Blah {
static int Foo (string s)
{
return 2;
}
static int Foo (object o)
{
return 1;
}
public static int Main ()
{
int i = Foo (null);
if (i == 1) {
Console.WriteLine ("Wrong method ");
return 1;
}
return 0;
}
}