aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2008-11-15-RetVoid.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/2008-11-15-RetVoid.ll')
-rw-r--r--test/Verifier/2008-11-15-RetVoid.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Verifier/2008-11-15-RetVoid.ll b/test/Verifier/2008-11-15-RetVoid.ll
index 42503fa..62f6da1 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 2>&1 | 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