new testcase
[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.out1.bc %t.out2.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