llvm.org GIT mirror llvm / release_25 test / Linker / 2003-08-28-TypeResolvesGlobal.ll
release_25

Tree @release_25 (Download .tar.gz)

2003-08-28-TypeResolvesGlobal.ll @release_25

76806b6
 
edca80b
0c49b89
 
 
76806b6
 
0c49b89
 
76806b6
0c49b89
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type i32" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out2.bc %t.out1.bc

%S = type opaque

define void @foo(i32* %V) {
	ret void
}

declare void @foo.upgrd.1(%S*)