Files
Marek Safar 63df052d41 New tests and updates.
svn path=/trunk/mcs/; revision=71634
2007-01-25 00:20:04 +00:00

16 lines
325 B
C#

// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte'
// Line: 9
// Compiler options: -warnaserror -warn:2
class X
{
void b ()
{
byte b = 0;
if (b == 500)
return;
}
static void Main () {}
}