Files
c3c/resources/tests/enum_errors.c3
Christoffer Lerno 60c60a3205 Enum fixes
2020-04-05 11:31:05 +02:00

24 lines
393 B
Plaintext

enum EnumWithErrorWithMissingName : int (int)
// @error The function parameter must be named
{
TEST
}
enum EnumWithErrorData : int (int
// @error Unexpected end of parameter list
{
TEST
}
enum EnumTestOverflow
{
VALUE = 0x80000000,
// @error does not fit into 'int'
}
enum EnumTestErrorType : float
// @error The enum type must be an integer type not 'float'
{
VALUE_BOOM
}