* Control.cs: fix the checks so that they work correctly for mdi
[mcs.git] / errors / cs0159-2.cs
bloba582528271cdb68730c24de133f3b4a8a7417b55
1 // cs0159-2.cs: No such label `case 20:' within the scope of the goto statement
2 // Line: 13
4 class y {
5 enum X { A = 1, B = 1, C = 1 }
7 static void Main ()
9 int x = 1;
11 switch (x){
12 case 1: break;
13 case 2: goto case 20;