"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-537.cs
blob688ac129be2207daee68ad076740a8c2eda8e494
1 using System;
3 public class Test
5 public static int Main ()
7 S a = new S ();
8 S? b = null;
9 var res = a | b;
10 if (res != "op")
11 return 1;
13 var res2 = a + b;
14 if (res2 != 9)
15 return 2;
17 return 0;
21 struct S
23 public static string operator | (S p1, S? p2)
25 return "op";
28 public static int? operator + (S p1, S? p2)
30 return 9;