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

28 lines
272 B
C#

using System;
interface I
{
}
struct S : I
{
}
class Program
{
public static int Main ()
{
int? a = 5;
int? b = 5;
IComparable ic_a = a;
IComparable ic_b = b;
if (ic_a.CompareTo (ic_b) != 0)
return 1;
S? s = new S ();
I iface = s;
return 0;
}
}