blob: 7d1020ddf28ef62d04ad5388650a727876c83f92 [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
Tanya Lattner003eae52008-03-10 07:21:50 +00003; RUN: llvm-as < %s > %t.out1.bc
Dan Gohman0682a462009-09-15 15:38:31 +00004; RUN: llvm-link %t.out1.bc %t.out2.bc -S | grep {@G =}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
6; When linked, the globals should be merged, and the result should still
7; be named '@G'.
8
Tanya Lattner003eae52008-03-10 07:21:50 +00009@G = appending global [1 x i32] zeroinitializer ; <[1 x i32]*> [#uses=0]
10