aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2002-04-13-RetTypes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/2002-04-13-RetTypes.ll')
-rw-r--r--test/Verifier/2002-04-13-RetTypes.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Verifier/2002-04-13-RetTypes.ll b/test/Verifier/2002-04-13-RetTypes.ll
index af46839..9385ebe 100644
--- a/test/Verifier/2002-04-13-RetTypes.ll
+++ b/test/Verifier/2002-04-13-RetTypes.ll
@@ -1,7 +1,8 @@
-; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'i32'"
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; Verify the operand type of the ret instructions in a function match the
-; delcared return type of the function they live in.
+; declared return type of the function they live in.
+; CHECK: value doesn't match function result type 'i32'
;
define i32 @testfunc() {