llvm-for-llvmta/test/Linker/Inputs/linkage.b.ll

11 lines
118 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
@X = external global i32
declare i32 @foo()
define void @bar() {
load i32, i32* @X
call i32 @foo()
ret void
}