aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/linkage.b.ll
blob: 9c1d066602200a1fdb84f52d95beede9e51c99a6 (plain)
1
2
3
4
5
6
7
8
9
10
@X = external global i32 

declare i32 @foo() 

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