For PR1319: Upgrade to new test harness
[oota-llvm.git] / test / Linker / 2004-12-03-DisagreeingType.ll
1 ; RUN: echo {@G = weak global \{\{\{\{double\}\}\}\} zeroinitializer } | \
2 ; RUN:   llvm-as > %t.out2.bc
3 ; RUN: llvm-as < %s > %t.out1.bc
4 ; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\}}
5
6 ; When linked, the global above should be eliminated, being merged with the 
7 ; global below.
8
9 @G = global double 1.0