Files
mono/mcs/errors/cs0469.cs
T
Marek Safar b479853e15 2006-06-24 Marek Safar <[email protected]>
* report.cs: Add CS0469 warning.

svn path=/trunk/mcs/; revision=62010
2006-06-24 13:46:41 +00:00

19 lines
286 B
C#

// cs0469.cs: 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;
}
}
}