mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
237 B
C
12 lines
237 B
C
// #target: macos-x64
|
|
module test;
|
|
const int FOO @private = 4;
|
|
def @Align(x) = { @align(x * FOO) };
|
|
|
|
module test2;
|
|
import test;
|
|
int black @Align(16) = 123;
|
|
|
|
/* #expect: test2.ll
|
|
|
|
@test2.black = local_unnamed_addr global i32 123, align 64
|