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=8cb8245cf117fc4a4f0a6549d9a773a12895550c;hp=b12a897e7abd3ef812e85726845e418c222fa235;hpb=42525a3c5bd6812dbe0938994b3ee98f5fc6136b;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 b12a897e7ab..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 bool %someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) { - ret bool true +define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) { + ret i1 true }