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

declare i32 @foo() 

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