X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2003-08-20-OpaqueTypeResolve.ll;h=c0fc620cfa67d586ac0c8bc626612e9d4b32c827;hb=484291c27319668ad99cb87def000254357736fb;hp=6b378d586be0158e8110e6ff9ca7378fbb783382;hpb=eacb7020ec7b0a6a0078f1be7bfd77bf6fe1ff06;p=oota-llvm.git diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll index 6b378d586be..c0fc620cfa6 100644 --- a/test/Linker/2003-08-20-OpaqueTypeResolve.ll +++ b/test/Linker/2003-08-20-OpaqueTypeResolve.ll @@ -1,8 +1,8 @@ +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo {%M = type \{ i32, i32* \} } | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out1.bc %t.out2.bc -; 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.out[12].bc +%M = type { i32, %N* } +%N = type opaque -%T = type opaque -%S = type { int, %T* } -;%X = global { int, %T* } { int 5, %T* null } +;%X = global { int, %N* } { int 5, %N* null }