* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0159-2.cs
1 // cs0159-2.cs: No such label `case 20:' within the scope of the goto statement
2 // Line: 13
3
4 class y {
5         enum X { A = 1, B = 1, C = 1 }
6
7         static void Main ()
8         {
9                 int x = 1;
10
11                 switch (x){
12                         case 1: break;
13                         case 2: goto case 20;
14                 }
15         }
16 }
17