2004-01-20 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / tests / test-154.cs
index 0c2a447bd5ecd78d2f405df74a229db5054042b3..0a1550ca7669a62c8c694bb3b53a764ae4c15045 100644 (file)
@@ -515,4 +515,19 @@ public class X
         end:
                x = y;
        }
+
+       //
+       // Bug 46640
+       //
+       public static void test35 (int a, bool test)
+       {
+               switch (a) {
+               case 3:
+                       if (test)
+                               break;
+                       return;
+               default:
+                       return;
+               }
+       }
 }