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