mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
15 lines
288 B
C
15 lines
288 B
C
enum Test : int (int kindof, int qnameof)
|
|
{
|
|
FOO = {1, 2}
|
|
}
|
|
|
|
enum Test2 : (int a, int nameof) // #error: 'nameof' is not a valid parameter name for enums
|
|
{
|
|
FOO = {1, 2}
|
|
}
|
|
|
|
enum Test3 : (int a, int ordinal) // #error: 'ordinal' is not a valid parameter name for enums
|
|
{
|
|
FOO = {1, 2}
|
|
}
|