blob: 2637da17f3f957ceb206f6838965bb4de74d5852 [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 Gohmanf17a25c2007-07-18 16:29:46 +00004; 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
Tanya Lattner003eae52008-03-10 07:21:50 +00009@G = appending global [1 x i32] zeroinitializer ; <[1 x i32]*> [#uses=0]
10