Avoid having testcases spit out bytecode on error

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-09 20:36:54 +00:00
parent 6a7096e685
commit 388f56d7dc
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
; This shows where the function is called with the prototype indicating a
; return type exists, but it really doesn't.
; RUN: if as < %s | opt -funcresolve
; RUN: if as < %s | opt -funcresolve > /dev/null
; RUN: then echo "opt ok"
; RUN: else exit 1 # Make sure opt doesn't abort!
; RUN: fi

View File

@ -1,7 +1,7 @@
; This shows where the function is called with the prototype indicating a
; return type doesn't exists, but it really does.
;
; RUN: if as < %s | opt -funcresolve
; RUN: if as < %s | opt -funcresolve > /dev/null
; RUN: then echo "opt ok"
; RUN: else exit 1 # Make sure opt doesn't abort!
; RUN: fi