Make sure there is SOME output always so the test is not rerun when unneccesary.

llvm-svn: 3311
This commit is contained in:
Chris Lattner 2002-08-14 17:38:15 +00:00
parent f9b9af0887
commit c59703b1fa
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
; Instcombine was missing a test that caused it to make illegal transformations
; sometimes. In this case, it transforms the sub into an add:
; RUN: echo foo
; RUN: if as < %s | opt -instcombine | dis | grep add
; RUN: then exit 1
; RUN: else exit 0