Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0019-22.cs
1 // CS0019: Operator `-' cannot be applied to operands of type `AA' and `long'
2 // Line: 11
3
4 enum AA : short { a, b = 200 }
5
6 public class C
7 {
8         public static void Main ()
9         {
10                 const long ul = 1;
11                 AA b = AA.a - ul;
12         }
13 }