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-01-20 23:35:45 +0300
committerMartin Baulig <martin@novell.com>2004-01-20 23:35:45 +0300
commite516ddb84a7608e9f013e3ae5722076888d62c1a (patch)
treec026689a71342bbb975282e91f06c75e141c2b32 /mcs/tests/test-226.cs
parentb9a8176a3cf3da14d05de1afdfd9ba1ad237a9ac (diff)
2004-01-20 Martin Baulig <martin@ximian.com>
* test-226.cs: New test for #53058. svn path=/trunk/mcs/; revision=22312
Diffstat (limited to 'mcs/tests/test-226.cs')
-rw-r--r--mcs/tests/test-226.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/tests/test-226.cs b/mcs/tests/test-226.cs
new file mode 100644
index 00000000000..149d495c221
--- /dev/null
+++ b/mcs/tests/test-226.cs
@@ -0,0 +1,25 @@
+using System;
+
+class Test226
+{
+ static bool ok;
+
+ public static void Test ()
+ {
+ int n=0;
+ while (true) {
+ if (++n==5)
+ break;
+ switch (0) {
+ case 0: break;
+ }
+ }
+ ok = true;
+ }
+
+ public static int Main ()
+ {
+ Test ();
+ return ok ? 0 : 1;
+ }
+}