Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-03-01 11:57:53 +0300
committerMarek Safar <marek.safar@gmail.com>2011-03-01 11:57:53 +0300
commit3139800130665748c1348d376a9a5d026bda536f (patch)
tree1ae3cca870c4a682611dac0b35020b5223a1b95c /mcs/tests/test-618.cs
parent808e062c3df2d21ee4bd7e3c31fa228b5fbb3a5c (diff)
Test update
Diffstat (limited to 'mcs/tests/test-618.cs')
-rw-r--r--mcs/tests/test-618.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/mcs/tests/test-618.cs b/mcs/tests/test-618.cs
index 7982c6d8f06..29891e49dac 100644
--- a/mcs/tests/test-618.cs
+++ b/mcs/tests/test-618.cs
@@ -13,7 +13,6 @@ class C
a = a - 0;
a = a | 0;
a = 0 + a;
- a = 0 - a;
a = 0 | a;
a = a >> 0x40;
@@ -28,10 +27,17 @@ class C
b *= 1;
}
- public static void Main ()
+ public static int Main ()
{
ZeroBasedReductions ();
ZeroBasedReductionsWithConversion ();
+
+ int a = 9;
+ a = 0 - a;
+ if (a != -9)
+ return 1;
+
+ return 0;
}
}