2007-04-16 02:11:57 +08:00
|
|
|
; RUN: echo { @G = appending global \[0 x i32\] zeroinitializer } | \
|
2007-01-04 07:47:29 +08:00
|
|
|
; RUN: llvm-as > %t.out2.bc
|
2008-03-10 15:21:50 +08:00
|
|
|
; RUN: llvm-as < %s > %t.out1.bc
|
2009-09-15 23:38:31 +08:00
|
|
|
; RUN: llvm-link %t.out1.bc %t.out2.bc -S | grep {@G =}
|
2005-12-07 01:29:54 +08:00
|
|
|
|
|
|
|
; When linked, the globals should be merged, and the result should still
|
2007-01-26 16:25:06 +08:00
|
|
|
; be named '@G'.
|
2005-12-07 01:29:54 +08:00
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
@G = appending global [1 x i32] zeroinitializer ; <[1 x i32]*> [#uses=0]
|
|
|
|
|