mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
24 lines
393 B
Plaintext
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
|
|
} |