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