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