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:
Christoffer Lerno
2021-07-19 17:10:13 +02:00
parent 89d831fc18
commit 28a0dec343
4 changed files with 59 additions and 35 deletions

View File

@@ -0,0 +1,7 @@
module foo;
int baz @extname("foobar") = 123;
// #expect: foo.ll
@foobar = global i32 123, align 4