X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2FAppendingLinkage2.ll;h=fddc4941be979c01efce0e8e352c83810a58d776;hb=befc9c16fae1719cafe9f54ab2b67219db44dc11;hp=8a73c9d7c89335dfc0e1a6e435909b4e387e431d;hpb=d450a0a4f12c457e4a1f7fde772916d891a8894b;p=oota-llvm.git diff --git a/test/Linker/AppendingLinkage2.ll b/test/Linker/AppendingLinkage2.ll index 8a73c9d7c89..fddc4941be9 100644 --- a/test/Linker/AppendingLinkage2.ll +++ b/test/Linker/AppendingLinkage2.ll @@ -1,7 +1,8 @@ ; Test that appending linkage works correctly when arrays are the same size. -; RUN: echo "%X = appending global [1x int] [int 8]" | as > Output/%s.2.bc -; RUN: as < %s > Output/%s.1.bc -; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 8 +; RUN: echo {@X = appending global \[1 x i32\] \[i32 8\] } | \ +; RUN: llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep 7 | grep 8 -%X = appending global [1 x int] [int 7] +@X = appending global [1 x i32] [ i32 7 ] ; <[1 x i32]*> [#uses=0]