blob: 4c94f54101715f7d18e41c171b13d3a2b9eb8346 [file] [log] [blame]
Reid Spencerce380562007-01-26 08:25:06 +00001; RUN: echo "@G = appending global [0 x i32] zeroinitializer" | \
Reid Spencerdb879b62007-01-03 23:47:29 +00002; RUN: llvm-as > %t.out2.bc
Reid Spencerdeb4d5a2006-12-31 06:02:00 +00003; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
Reid Spencerce380562007-01-26 08:25:06 +00004; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '@G ='
Chris Lattner98dcd122005-12-06 17:29:54 +00005
6; When linked, the globals should be merged, and the result should still
Reid Spencerce380562007-01-26 08:25:06 +00007; be named '@G'.
Chris Lattner98dcd122005-12-06 17:29:54 +00008
9%G = appending global [1 x int] zeroinitializer