diff options
author | Martin Baulig <martin@novell.com> | 2004-01-20 23:42:24 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2004-01-20 23:42:24 +0300 |
commit | 7723f52e3567021bae4566a8d7bfe6b5baf179d1 (patch) | |
tree | 8699d6f906ad94142258f41b308a517c0833158c /mcs/tests/test-154.cs | |
parent | e516ddb84a7608e9f013e3ae5722076888d62c1a (diff) |
2004-01-20 Martin Baulig <martin@ximian.com>
* test-154.cs: Added testcase for bug #46640.
svn path=/trunk/mcs/; revision=22313
Diffstat (limited to 'mcs/tests/test-154.cs')
-rw-r--r-- | mcs/tests/test-154.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs index 0c2a447bd5e..0a1550ca766 100644 --- a/mcs/tests/test-154.cs +++ b/mcs/tests/test-154.cs @@ -515,4 +515,19 @@ public class X end: x = y; } + + // + // Bug 46640 + // + public static void test35 (int a, bool test) + { + switch (a) { + case 3: + if (test) + break; + return; + default: + return; + } + } } |