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>2008-02-20 20:29:30 +0300
committerMarek Safar <marek.safar@gmail.com>2008-02-20 20:29:30 +0300
commit203b8f3e45928717851361a7f7f945a85a6d5050 (patch)
treee66d5d91e663c9fdc71651a0bd234a1dfd890cc5 /mcs/tests/test-587.cs
parent33b74aff880662b6f1cc8324e22b8d64c83107b9 (diff)
More tests.
svn path=/trunk/mcs/; revision=96276
Diffstat (limited to 'mcs/tests/test-587.cs')
-rw-r--r--mcs/tests/test-587.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/mcs/tests/test-587.cs b/mcs/tests/test-587.cs
index 39f01b63eae..ef2ae26bef4 100644
--- a/mcs/tests/test-587.cs
+++ b/mcs/tests/test-587.cs
@@ -1,5 +1,3 @@
-// Compiler options: -nowarn:0162
-
class Program
{
static int Main ()
@@ -8,10 +6,13 @@ class Program
if ((++ctc_f == 0 && false)) {
return 1;
+ } else if (false && +ctc_f == 0) {
+ return 2;
} else {
if (ctc_f != 1) {
- return 2;
+ return 3;
}
+
return 0;
}
}