Rewrite test/Verifier tests to use FileCheck instead of grep

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179036 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Bendersky
2013-04-08 18:33:51 +00:00
parent 813456527e
commit c3d5c1cb33
13 changed files with 28 additions and 19 deletions

View File

@@ -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