B
}
- static int Main ()
+ public static int Main ()
{
int v = 1;
object foo = (v + A.a);
// Now try the implicit conversions for underlying types in enum operators
byte b = 1;
short s = (short) (Test.A + b);
+
+ const int e = A.b + 1 - A.a;
//
// Make sure that other operators still work
return 3;
if (Test.A == Test.B)
return 4;
+
+ const A e2 = 3 - A.b;
+ if (e2 != A.a)
+ return 5;
return 0;
}