X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2004-12-03-DisagreeingType.ll;h=63e15299252dbd1c8546dd8fe4ecfcdbfd9ce44c;hb=5be77762a3aa434ee877b0a03b98b5c3a7571918;hp=9849e0c1fe527eb88789ed876dd93304fbbda318;hpb=bbdfaf8ec7d3d9ef4bbbc85778e1323d26461ab2;p=oota-llvm.git diff --git a/test/Linker/2004-12-03-DisagreeingType.ll b/test/Linker/2004-12-03-DisagreeingType.ll index 9849e0c1fe5..63e15299252 100644 --- a/test/Linker/2004-12-03-DisagreeingType.ll +++ b/test/Linker/2004-12-03-DisagreeingType.ll @@ -1,8 +1,10 @@ -; RUN: echo "%G = weak global {{{{double}}}} zeroinitializer" | llvm-as > %t.out2.bc +; RUN: echo "@G = weak global {{{{double}}}} zeroinitializer " | \ +; RUN: llvm-as > %t.out2.bc ; RUN: llvm-as < %s > %t.out1.bc -; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep '\}' +; RUN: llvm-link %t.out1.bc %t.out2.bc -S | FileCheck %s +; CHECK-NOT: } ; When linked, the global above should be eliminated, being merged with the ; global below. -%G = global double 1.0 +@G = global double 1.0