Merging r259645:
[oota-llvm.git] / test / Verifier / 2008-11-15-RetVoid.ll
index aaef7030c5ac251be16c300e0fca14651cb9254b..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