Files
c3c/test/test_suite/enumerations/const_enum_self_ref.c3
Christoffer Lerno 397d065a74 - Constant shifting incorrectly doesn't flatten the underlying vector base #2825
- String not set as attributes resolved breaking has_tagof #2824
- Self referencing forward resolved const enum fails to be properly detected #2823
2026-01-24 18:32:26 +01:00

11 lines
203 B
Plaintext

enum MyEnum : const
{
VAL1 = VAL3, // #error: Unable to properly resolve enum constant value, this can sometimes happen in recursive definitions
VAL2 ,
VAL3
}
fn int main()
{
return 0;
}