llvm.org GIT mirror llvm / edca80b test / Linker / 2003-08-20-OpaqueTypeResolve.ll
edca80b

Tree @edca80b (Download .tar.gz)

2003-08-20-OpaqueTypeResolve.ll @edca80braw · history · blame

1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
; RUN: echo {%S = type \{ int, int* \} } | llvm-upgrade | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc

%T = type opaque
%S = type { int, %T* }
;%X = global { int, %T* } { int 5, %T* null }