2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-510.cs
blob27558f64686282d7ef5dd8c882ca1820a7a28885
1 class Foo {
2 static void test39 (ref int a)
4 int x_0 = 0;
5 int ll_1 = 0;
7 switch (0) {
8 default:
9 switch (x_0) {
10 default:
11 if (ll_1 == 0)
12 break;
13 else
14 goto k_1;
16 a = 5;
17 break;
18 k_1:
19 break;
23 public static void Main ()
25 int a = 0;
26 test39 (ref a);
27 if (a != 5)
28 throw new System.Exception ("reachable code got marked as unreachable");