Files
mono/mcs/errors/cs0151.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

20 lines
222 B
C#

// cs0151.cs: A value of an integral type or string expected for switch
// Line: 12
class Y {
byte b;
}
class X {
static void Main ()
{
Y y = new Y ();
switch (y){
case 0:
break;
case 1:
break;
}
}
}