blob: 3e57becbbe4433132061984096f578d6ccb143a9 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; 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