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