mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
19 lines
301 B
Plaintext
19 lines
301 B
Plaintext
|
|
enum EnumWithErrorWithMissingName : int (int) // #error: function parameter must be named
|
|
{
|
|
TEST
|
|
}
|
|
|
|
enum EnumWithErrorData : int (int // #error: end of the parameter list
|
|
{
|
|
TEST
|
|
}
|
|
|
|
error TheError
|
|
{
|
|
union // #error: A type name was expected here
|
|
{
|
|
int a;
|
|
int b;
|
|
}
|
|
} |