Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git] / tests / gtest-378.cs
blobc0245ef67945b3cb1d8ba33cae56f12e67c034bf
1 class Test {
2 static object Foo (int? i)
4 return (object)i;
7 static object FooG<T> (T? i) where T : struct
9 return (object)i;
12 public static int Main ()
14 object o = Foo (null);
15 if (o != null)
16 return 1;
18 o = FooG<bool> (null);
19 if (o != null)
20 return 2;
22 System.Console.WriteLine ("OK");
23 return 0;