2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / errors / cs0469.cs
blob233167bcba28e7b72087e55aba899b839240b23a
1 // cs0469.cs: The `goto case' value is not implicitly convertible to type `char'
2 // Line: 16
3 // Compiler options: -warnaserror -warn:2
5 class Test
7 static void Main()
9 char c = 'c';
10 switch (c)
12 case 'A':
13 break;
15 case 'a':
16 goto case 65;