mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- New const enum declaration syntax.
- New enum associated value syntax.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
enum MyEnum : const
|
||||
const enum MyEnum
|
||||
{
|
||||
VAL1 = VAL3, // #error: Unable to properly resolve enum constant value, this can sometimes happen in recursive definitions
|
||||
VAL2 ,
|
||||
|
||||
Reference in New Issue
Block a user