2009-06-12 Bill Holmes <billholmes54@gmail.com>
[mono.git] / mcs / errors / cs0151.cs
1 // cs0151.cs: A value of an integral type or string expected for switch
2 // Line: 12
3 class Y {
4         byte b;
5 }
6
7 class X {
8         static void Main ()
9         {
10                 Y y = new Y ();
11
12                 switch (y){
13                 case 0:
14                         break;
15                 case 1:
16                         break;
17                 }
18         }
19 }