Files
c3c/test/test_suite/enumerations/enum_same_param.c3
Christoffer Lerno cdff5c3e26 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.
2022-07-26 00:56:59 +02:00

10 lines
134 B
C

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)
}