Updated with review feedback.
[mono.git] / mcs / errors / cs1525-20.cs
1 // CS1525: Unexpected symbol `default:'
2 // Line: 12
3
4 class Program
5 {
6         static void Main ()
7         {
8                 int x = 0;
9                 switch (x) {
10                 case 2:
11                         int a = 1;
12                 case default:
13                         return;
14                 case 1:
15                         int b = 1;
16                 }
17         }
18 }