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