a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
267 B
C#
19 lines
267 B
C#
// CS0469: The `goto case' value is not implicitly convertible to type `char'
|
|
// Line: 16
|
|
// Compiler options: -warnaserror -warn:2
|
|
|
|
class Test
|
|
{
|
|
static void Main()
|
|
{
|
|
char c = 'c';
|
|
switch (c)
|
|
{
|
|
case 'A':
|
|
break;
|
|
|
|
case 'a':
|
|
goto case 65;
|
|
}
|
|
}
|
|
} |