Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-783.cs
blob93e24821d8bd104d281b62a9b28e52c32f0d5a7e
1 enum E { a, b }
3 class C
5 static void M (E e)
9 static int Test (int a)
11 return -1;
14 static int Test (E e)
16 return 1;
19 public static int Main ()
21 M ((uint) 0);
22 M ((long) 0);
23 M ((sbyte) 0);
24 M ((ulong) 0);
26 var d = E.b;
27 if (Test (d - 0) != 1)
28 return 1;
30 if (Test (d - 1) != 1)
31 return 2;
33 if (Test (d + 0) != 1)
34 return 3;
36 if (Test (d + 1) != 1)
37 return 4;
39 return 0;