mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
22 lines
246 B
Plaintext
22 lines
246 B
Plaintext
// #target: macos-x64
|
|
module test;
|
|
int x = 0;
|
|
alias y = x;
|
|
alias z = y;
|
|
alias w = z;
|
|
fn int main()
|
|
{
|
|
z = 4;
|
|
w = 3;
|
|
return 0;
|
|
}
|
|
|
|
/* #expect: test.ll
|
|
|
|
entry:
|
|
store i32 4, ptr @test.x, align 4
|
|
store i32 3, ptr @test.x, align 4
|
|
ret i32 0
|
|
}
|
|
|