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:
authorMartin Baulig <martin@novell.com>2005-05-18 17:44:35 +0400
committerMartin Baulig <martin@novell.com>2005-05-18 17:44:35 +0400
commit7d44c5c518b9efb94d88e3e1dba972dd830216b5 (patch)
tree1e401e688c67f03cd7827916619de21676b7211d /mcs/tests/test-385.cs
parent0880210d2c425131ca556504c61d003df817e745 (diff)
New test.
svn path=/trunk/mcs/; revision=44680
Diffstat (limited to 'mcs/tests/test-385.cs')
-rw-r--r--mcs/tests/test-385.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/test-385.cs b/mcs/tests/test-385.cs
new file mode 100644
index 00000000000..274070e2921
--- /dev/null
+++ b/mcs/tests/test-385.cs
@@ -0,0 +1,17 @@
+class Test {
+ static int Main ()
+ {
+ int i = 5;
+ switch (i) {
+ case 5:
+ if (i == 5)
+ break;
+ return 1;
+ default:
+ return 2;
+ }
+ System.Console.WriteLine (i);
+ return 0;
+ }
+}
+