mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Single code path for kind/inner/len/sizeof on type and typeid. Fix of #493. Bump to 0.2.24. Remove ´func´ deprecated keyword. Unify builtin access. Enum and fault name reflection.
10 lines
159 B
C
10 lines
159 B
C
enum Test : int (int a, int b)
|
|
{
|
|
FOO(1, 2)
|
|
}
|
|
|
|
enum Test2 : int (int a, int nameof) // #error: 'nameof' is not a valid parameter name for enums
|
|
{
|
|
FOO(1, 2)
|
|
}
|