New test.
[mono.git] / mcs / errors / cs0469.cs
1 // cs0469.cs: The `goto case' value is not implicitly convertible to type `char'
2 // Line: 16
3 // Compiler options: -warnaserror -warn:2\r
4 \r
5 class Test\r
6 {\r
7         static void Main()\r
8         {\r
9                 char c = 'c';\r
10                 switch (c)\r
11                 {\r
12                         case 'A':\r
13                                 break;\r
14 \r
15                         case 'a': \r
16                                 goto case 65;\r
17                 }\r
18         }\r
19 }