a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
272 B
C#
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;
|
|
}
|
|
}
|