X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2005-12-06-AppendingZeroLengthArrays.ll;h=2637da17f3f957ceb206f6838965bb4de74d5852;hb=56867520990a4fea1353d55f71bb74a0126554e6;hp=a55a2233a6a98517c243a31cd6a77012cde00fec;hpb=f6dc65f6729922f42e723127e9fc5d1bc1e0f831;p=oota-llvm.git diff --git a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll index a55a2233a6a..2637da17f3f 100644 --- a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll +++ b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll @@ -1,9 +1,10 @@ -; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-upgrade |\ +; RUN: echo { @G = appending global \[0 x i32\] zeroinitializer } | \ ; RUN: llvm-as > %t.out2.bc -; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc -; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '%G.s =' +; RUN: llvm-as < %s > %t.out1.bc +; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep {@G =} ; When linked, the globals should be merged, and the result should still -; be named '%G'. +; be named '@G'. + +@G = appending global [1 x i32] zeroinitializer ; <[1 x i32]*> [#uses=0] -%G = appending global [1 x int] zeroinitializer