Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono-project.git] / mcs / errors / cs0019-22.cs
blob38f13a3d9af6fc7e9de83b5120e149a78494da33
1 // CS0019: Operator `-' cannot be applied to operands of type `AA' and `long'
2 // Line: 11
4 enum AA : short { a, b = 200 }
6 public class C
8 public static void Main ()
10 const long ul = 1;
11 AA b = AA.a - ul;