* basic-long.cs: Add test for negation of Int64.MinValue.
svn path=/trunk/mono/; revision=24843
+2004-03-31 Zoltan Varga <vargaz@freemail.hu>
+
+ * basic-long.cs: Add test for negation of Int64.MinValue.
+
2004-03-30 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.c: Update status.
return (int)(-a);
}
+ static int test_0_neg_large () {
+ long min = -9223372036854775808;
+ unchecked {
+ ulong ul = (ulong)min;
+ return (min == -(long)ul) ? 0 : 1;
+ }
+ }
+
static int test_0_shl () {
long a = 9;
int b = 1;