summaryrefslogtreecommitdiff
path: root/llvm/test/Linker/2003-08-28-TypeResolvesGlobal.ll
blob: e926fae5a0e0bef162892faa23c9146ac83823c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%M = type { i32} " | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out2.bc %t.out1.bc

%M = type opaque

define void @foo(ptr %V) {
	ret void
}

declare void @foo.upgrd.1(ptr)