Files
mono/mcs/errors/cs0019-22.cs
T
Marek Safar 68d283ed5f Fixed to test 1 error only.
svn path=/trunk/mcs/; revision=101862
2008-04-25 19:06:20 +00:00

14 lines
228 B
C#

// CS0019: Operator `-' cannot be applied to operands of type `AA' and `long'
// Line: 11
enum AA : short { a, b = 200 }
public class C
{
public static void Main ()
{
const long ul = 1;
AA b = AA.a - ul;
}
}