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:
@@ -12,7 +12,7 @@ fn void Foo.x(&self) @dynamic
|
||||
io::printn("Foo!");
|
||||
}
|
||||
|
||||
enum Tester : const inline Foo
|
||||
const enum Tester : inline Foo
|
||||
{
|
||||
ABC = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user