llvm-project/llvm/test/Linker/Inputs/linkage.b.ll

11 lines
113 B
LLVM

@X = external global i32
declare i32 @foo()
define void @bar() {
load i32* @X
call i32 @foo()
ret void
}