"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / dtest-043.cs
blob0308e8866b5c2d1f3d5230b4fe54483626119e65
1 class A
3 public static int Main ()
5 dynamic d = 'a';
6 object o = null;
8 char ch = o ?? d;
9 if (ch != 'a')
10 return 1;
12 const A a = null;
13 ch = a ?? d;
14 if (ch != 'a')
15 return 2;
17 ch = d ?? 'b';
18 if (ch != 'a')
19 return 3;
21 int? n = null;
22 dynamic d2 = null;
23 var r = n ?? d2;
25 return 0;