diff options
author | Marek Safar <marek.safar@gmail.com> | 2008-02-20 20:29:30 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2008-02-20 20:29:30 +0300 |
commit | 203b8f3e45928717851361a7f7f945a85a6d5050 (patch) | |
tree | e66d5d91e663c9fdc71651a0bd234a1dfd890cc5 /mcs/tests/test-587.cs | |
parent | 33b74aff880662b6f1cc8324e22b8d64c83107b9 (diff) |
More tests.
svn path=/trunk/mcs/; revision=96276
Diffstat (limited to 'mcs/tests/test-587.cs')
-rw-r--r-- | mcs/tests/test-587.cs | 7 |
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; } } |