[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-732.cs
blob04d6f67ab61e8053b2a45d7bfa6e588df75d3707
1 class C
3 public static explicit operator int (C c)
5 return 1;
8 public static int op_Implicit (C c, bool b)
10 return -1;
13 public static int Main ()
15 int res = (int) new C ();
16 if (res != 1)
17 return 1;
19 return 0;