a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
217 B
C#
14 lines
217 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;
|
|
}
|
|
}
|