X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2007-01-02-Undefined-Arg-Type.ll;h=9521b43897c7f681a31588857f8b4a0330c495eb;hb=d0c0fae63bbbdb2d26e62736f0654bfdc5193ccc;hp=96e6d6c4e981dd6b1484634b29fff5d8b40493ca;hpb=737ec5130ef29bd447eb3c93d6a6e980cc0b16e3;p=oota-llvm.git diff --git a/test/Assembler/2007-01-02-Undefined-Arg-Type.ll b/test/Assembler/2007-01-02-Undefined-Arg-Type.ll index 96e6d6c4e98..9521b43897c 100644 --- a/test/Assembler/2007-01-02-Undefined-Arg-Type.ll +++ b/test/Assembler/2007-01-02-Undefined-Arg-Type.ll @@ -1,10 +1,9 @@ ; The assembler should catch an undefined argument type . -; RUN: llvm-as < %s -o /dev/null -f 2>&1 | grep "Reference to abstract argument" +; RUN: not llvm-as %s -o /dev/null -f |& grep {Reference to abstract argument} ; %typedef.bc_struct = type opaque -implementation ; Functions: -define i1 %someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) { +define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) { ret i1 true }