X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FVerifier%2F2008-11-15-RetVoid.ll;h=62f6da1131398f967c8124a95a695a31f83c09e9;hb=fff361d60b64ac8ee9fcb523872aa7beea8ab8e1;hp=f2cdc8ce4decd530e381febb9cfaee0195940f86;hpb=4177e6fff50552908bab510f1e896fa974a6f155;p=oota-llvm.git diff --git a/test/Verifier/2008-11-15-RetVoid.ll b/test/Verifier/2008-11-15-RetVoid.ll index f2cdc8ce4de..62f6da11313 100644 --- a/test/Verifier/2008-11-15-RetVoid.ll +++ b/test/Verifier/2008-11-15-RetVoid.ll @@ -1,4 +1,5 @@ -; RUN: not llvm-as < %s |& grep "value doesn't match function result type 'void'" +; RUN: not llvm-as < %s 2>&1 | FileCheck %s +; CHECK: value doesn't match function result type 'void' define void @foo() { ret i32 0