Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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;
}
}
}