Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 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 |