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

32 lines
355 B
C#

class A
{
public static bool operator > (A a, object b)
{
return false;
}
public static bool operator < (A a, object b)
{
return true;
}
}
class C
{
public static int Main ()
{
return new C ().Test () ? 1 : 0;
}
int? Id {
get { return 1; }
}
bool Test ()
{
A a = new A ();
bool b = a > Id && a < Id;
return b;
}
}