blob: 7aeffdf22b59b53324604c61e9845dcf413c288b [file] [log] [blame]
Reid Spencerf6dc65f2007-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 Spencereacb7022006-12-31 06:02:00 +00003; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
Reid Spencere5fe98c2007-01-05 18:37:18 +00004; RUN: llvm-link %t.out[12].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
7; be named '%G'.
8
9%G = appending global [1 x int] zeroinitializer