Fixed to test 1 error only.
[mono.git] / mcs / errors / cs0019-21.cs
1 // CS0019: Operator `+' cannot be applied to operands of type `AA' and `uint'
2 // Line: 11\r
3 \r
4 enum AA : byte { a, b = 200 }\r
5 \r
6 public class C\r
7 {\r
8         public static void Main ()\r
9         {\r
10                 const uint ul = 1;\r
11                 AA b = AA.a + ul;\r
12         }\r
13 }