2010-04-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0159-2.cs
blob772185158e30f6b23e580b6b36cd243e3b1a757d
1 // CS0159: The label `case 20:' could not be found 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;