X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2005-02-12-ConstantGlobals-2.ll;h=30bfafeb13b52af8eee3fe7c1f477a778943b8af;hb=30d8f0e9770db76f19273419c57fe112129b145a;hp=bedeb51069504d19f6f37b87a6c1c5e8c945d378;hpb=edca80b5e86363c6e4d5cfeedd6940d991355333;p=oota-llvm.git diff --git a/test/Linker/2005-02-12-ConstantGlobals-2.ll b/test/Linker/2005-02-12-ConstantGlobals-2.ll index bedeb510695..30bfafeb13b 100644 --- a/test/Linker/2005-02-12-ConstantGlobals-2.ll +++ b/test/Linker/2005-02-12-ConstantGlobals-2.ll @@ -1,8 +1,8 @@ ; Test that a prototype can be marked const, and the definition is allowed ; to be nonconst. -; RUN: echo {@X = external constant i32} | llvm-as > %t.2.bc +; RUN: echo "@X = external constant i32" | llvm-as > %t.2.bc ; RUN: llvm-as < %s > %t.1.bc -; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep {global i32 7} +; RUN: llvm-link %t.1.bc %t.2.bc -S | grep "global i32 7" @X = global i32 7