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:
authorMarek Safar <marek.safar@gmail.com>2008-03-19 14:12:21 +0300
committerMarek Safar <marek.safar@gmail.com>2008-03-19 14:12:21 +0300
commitac54dc8d39c5759c090c3a7f9c76a1b9738696ac (patch)
tree7d7be1baa0ce7c19cea483afb7801c33c2f6d30c /mcs/tests/test-626.cs
parent1b8aeb5fd77308c117a4c5ecf8b4e8bbc32c6fd5 (diff)
parentb251ce784aa16f7c3d52dfc4f334ee7b02f07c50 (diff)
New tests, migrated from errors.
svn path=/trunk/mcs/; revision=98583
Diffstat (limited to 'mcs/tests/test-626.cs')
-rw-r--r--mcs/tests/test-626.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/mcs/tests/test-626.cs b/mcs/tests/test-626.cs
new file mode 100644
index 00000000000..9293e2e0d0b
--- /dev/null
+++ b/mcs/tests/test-626.cs
@@ -0,0 +1,26 @@
+//
+// fixed
+//
+using System;
+
+class X {
+
+ void A ()
+ {
+ }
+
+ static void Main ()
+ {
+ int loop = 0;
+
+ goto a;
+ b:
+ loop++;
+ return;
+ a:
+ Console.WriteLine ("Hello");
+ for (;;){
+ goto b;
+ }
+ }
+}