X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2FAppendingLinkage2.ll;h=7385efb1f9b0b33a3720da735153b67e6b2507e7;hb=fef904d0e824a2c587f8c1063b6c4fbf47fec898;hp=8a73c9d7c89335dfc0e1a6e435909b4e387e431d;hpb=d450a0a4f12c457e4a1f7fde772916d891a8894b;p=oota-llvm.git diff --git a/test/Linker/AppendingLinkage2.ll b/test/Linker/AppendingLinkage2.ll index 8a73c9d7c89..7385efb1f9b 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 -S | 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]