mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Const Enums From / to ordinal using casts is back. Add "--use-old-enums", deprecating lookup.
This commit is contained in:
committed by
Christoffer Lerno
parent
4a803ed0cf
commit
13bb2b6690
@@ -1,3 +1,4 @@
|
||||
/*
|
||||
enum Bar : inline usz
|
||||
{
|
||||
FOO,
|
||||
@@ -17,3 +18,4 @@ fn int main()
|
||||
char[Bar2.BAR] a;
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user