Add a new C++11 compatibility macro, LLVM_LVALUE_FUNCTION.
[oota-llvm.git] / test / Verifier / 2002-04-13-RetTypes.ll
index 197f5c24fc4c6f5da7e0e8cdc9962840a1e35823..af468395be38d06344d72411fccec7f7236f70e4 100644 (file)
@@ -1,10 +1,9 @@
-; RUN: not llvm-as < %s |& grep {return type does not match operand type}
+; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'i32'"
 
-; Verify the the operand type of the ret instructions in a function match the
+; Verify the operand type of the ret instructions in a function match the
 ; delcared return type of the function they live in.
 ;
 
-define i32 @testfunc()
-begin
+define i32 @testfunc() {
        ret i32* null
-end
+}