ReleaseNotes: shrink-wrapping; by Quentin Colombet
[oota-llvm.git] / test / Verifier / 2008-11-15-RetVoid.ll
index f2cdc8ce4decd530e381febb9cfaee0195940f86..62f6da1131398f967c8124a95a695a31f83c09e9 100644 (file)
@@ -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