[corlib] Bump WaitAll_TimeoutWithExceptionsAfter timeouts
[mono.git] / mcs / tests / test-154.cs
index dd20899da77528b8c5196a9af13c1d054c0f180b..163e78d135caac1dba6b75fb7836b8a5b3886bde 100644 (file)
@@ -582,30 +582,6 @@ public class X
                ;
        }
 
-       //
-       // 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;
-               }
-       }
-
        static int test40 (int stop)
        {
                int service;
@@ -618,4 +594,48 @@ public class X
 
                return service;
        }
+
+       public void test41 ()
+       {
+               int y, x = 3;
+               int z;
+               while (true) {
+                       if (x > 3) {
+                               y = 3;
+                               goto end;
+                       } else {
+                               z = 3;
+                       }
+
+                       break;
+               end:
+                       z = y;
+               }
+
+               Console.WriteLine (z);
+       }
+       
+       public void test42 (int arg)
+       {
+               bool x;
+               for (; ; ) {
+                       x = false;
+                       if (arg > 0) {
+                               x = true;
+                               switch (arg) {
+                               case 1:
+                               case 2:
+                                       continue;
+                               default:
+                                       break;
+                               }
+                               break;
+                       } else {
+                               x = false;
+                               break;
+                       }
+               }
+
+               Console.WriteLine (x);
+       }
 }