blob: d7a34c841e63b7dd8095ec28e69329f6b91e5a63 [file] [log] [blame]
Chandler Carruth4177e6f2012-07-02 12:47:22 +00001; RUN: echo " @G = appending global [0 x i32] zeroinitializer " | \
Reid Spencerf6dc65f2007-01-03 23:47:29 +00002; RUN: llvm-as > %t.out2.bc
Tanya Lattnerceca1942008-03-10 07:21:50 +00003; RUN: llvm-as < %s > %t.out1.bc
Chandler Carruth4177e6f2012-07-02 12:47:22 +00004; RUN: llvm-link %t.out1.bc %t.out2.bc -S | grep "@G ="
Chris Lattner896447532005-12-06 17:29:54 +00005
6; When linked, the globals should be merged, and the result should still
Reid Spencere3ff5ad2007-01-26 08:25:06 +00007; be named '@G'.
Chris Lattner896447532005-12-06 17:29:54 +00008
Tanya Lattnerceca1942008-03-10 07:21:50 +00009@G = appending global [1 x i32] zeroinitializer ; <[1 x i32]*> [#uses=0]
10