* the IL code looks.
*/
-class Tests {
+#if MOBILE
+class LongTests
+#else
+class Tests
+#endif
+{
- public static int Main () {
- return TestDriver.RunTests (typeof (Tests));
+#if !MOBILE
+ public static int Main (string[] args) {
+ return TestDriver.RunTests (typeof (Tests), args);
}
+#endif
public static int test_10_simple_cast () {
long a = 10;
return (value == 65526) ? 0 : 1;
}
}
+
+ public static int test_0_lneg_regress_10320 () {
+ long a = 0x100000000;
+ ulong c = ((ulong) (-(-a))) >> 32;
+ return c == 1 ? 0 : 1;
+ }
}