new testcase for PR662
[oota-llvm.git] / test / Linker / 2005-12-06-AppendingZeroLengthArrays.ll
1 ; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-as > %t.out2.bc
2 ; RUN: llvm-as < %s > %t.out1.bc
3 ; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '%G ='
4
5 ; When linked, the globals should be merged, and the result should still 
6 ; be named '%G'.
7
8 %G = appending global [1 x int] zeroinitializer