X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2004-12-03-DisagreeingType.ll;h=570bda87e2c0c31ea3b65363148b1cd2035da6d3;hb=61268701931d747fa95e0be8a368101e7f97b83c;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..570bda87e2c 100644 --- a/test/Linker/2004-12-03-DisagreeingType.ll +++ b/test/Linker/2004-12-03-DisagreeingType.ll @@ -1,8 +1,9 @@ -; 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 | not grep {\\}} ; When linked, the global above should be eliminated, being merged with the ; global below. -%G = global double 1.0 +@G = global double 1.0