blob: 3e57becbbe4433132061984096f578d6ccb143a9 [file] [log] [blame]
Reid Spenceredca80b2007-04-15 18:11:57 +00001; RUN: echo { @G = appending global \[0 x i32\] zeroinitializer } | \
Reid Spencerf6dc65f2007-01-03 23:47:29 +00002; RUN: llvm-as > %t.out2.bc
Reid Spencereacb7022006-12-31 06:02:00 +00003; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
Reid Spenceredca80b2007-04-15 18:11:57 +00004; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | 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
9%G = appending global [1 x int] zeroinitializer