"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-294.cs
blob59a58f3292c0cd56ab2a97a53843dba4138defc4
1 class A {}
2 class B : A {}
4 class X
6 public static A Test (A a, B b)
8 return b ?? a;
11 public static int Main ()
13 A a = new A ();
14 B b = new B ();
16 if (Test (a, b) != b)
17 return 1;
19 if (Test (null, b) != b)
20 return 2;
22 if (Test (a, null) != a)
23 return 3;
25 if (Test (null, null) != null)
26 return 4;
28 return 0;