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>2004-08-23 00:34:48 +0400
committerMartin Baulig <martin@novell.com>2004-08-23 00:34:48 +0400
commite44cc4ce5408bb8175bed136371f61b57ca21c1b (patch)
tree4491b63e75d6be505ff19eb73a65eb7a75fff1a8 /mcs/tests/test-154.cs
parent8dcbbddfe5a9173344467d704d4b133c5d72cfae (diff)
2004-08-22 Martin Baulig <martin@ximian.com>
* test-154.cs: Added test case for #59867. svn path=/trunk/mcs/; revision=32666
Diffstat (limited to 'mcs/tests/test-154.cs')
-rw-r--r--mcs/tests/test-154.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs
index 5a2ea0e0c79..6a336975db0 100644
--- a/mcs/tests/test-154.cs
+++ b/mcs/tests/test-154.cs
@@ -581,4 +581,28 @@ public class X
foo:
;
}
+
+ //
+ // Bug 59867
+ //
+ static void test39 (out int a)
+ {
+ int x_0 = 0;
+ int ll_1 = 0;
+
+ switch (0) {
+ default:
+ switch (x_0) {
+ default:
+ if (ll_1 == 0)
+ break;
+ else
+ goto k_1;
+ }
+ a = 5;
+ break;
+ k_1:
+ break;
+ }
+ }
}