llvm.org GIT mirror llvm / b8b70e1 test / Linker / Inputs / linkage.b.ll
b8b70e1

Tree @b8b70e1 (Download .tar.gz)

linkage.b.ll @b8b70e1raw · history · blame

1
2
3
4
5
6
7
8
9
@X = external global i32 

declare i32 @foo() 

define void @bar() {
	load i32* @X
	call i32 @foo()
	ret void
}