mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Dev (#500)
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.
This commit is contained in:
committed by
GitHub
parent
cc1bc58ed0
commit
cdff5c3e26
9
test/test_suite/enumerations/enum_same_param.c3
Normal file
9
test/test_suite/enumerations/enum_same_param.c3
Normal file
@@ -0,0 +1,9 @@
|
||||
enum Test : int (int a, int b)
|
||||
{
|
||||
FOO(1, 2)
|
||||
}
|
||||
|
||||
enum Test2 : int (int a, int a) // #error: Duplicate parameter name 'a'
|
||||
{
|
||||
FOO(1, 2)
|
||||
}
|
||||
Reference in New Issue
Block a user