mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
11 lines
113 B
LLVM
11 lines
113 B
LLVM
|
@X = external global i32
|
||
|
|
||
|
declare i32 @foo()
|
||
|
|
||
|
define void @bar() {
|
||
|
load i32* @X
|
||
|
call i32 @foo()
|
||
|
ret void
|
||
|
}
|
||
|
|