mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fixes: Extname works on global variables. Bug with boolean in ternary in some cases. Global declarations would not parse attributes.
This commit is contained in:
7
test/test_suite/globals/global_extname.c3t
Normal file
7
test/test_suite/globals/global_extname.c3t
Normal file
@@ -0,0 +1,7 @@
|
||||
module foo;
|
||||
|
||||
int baz @extname("foobar") = 123;
|
||||
|
||||
// #expect: foo.ll
|
||||
|
||||
@foobar = global i32 123, align 4
|
||||
Reference in New Issue
Block a user