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