forked from OSchip/llvm-project
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
|
||
|
}
|
||
|
|