Update a test to FileCheck.

llvm-svn: 89610
This commit is contained in:
Anders Carlsson 2009-11-22 18:56:40 +00:00
parent 65da2db736
commit 1299f36af1
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,4 @@
// RUN: clang-cc -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t // RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o - %s | FileCheck %s
// RUN: grep "ret i32" %t | count 1
// RUN: grep "ret i32 1" %t | count 1
// PR2001 // PR2001
/* Test that the result of the assignment properly uses the value *in /* Test that the result of the assignment properly uses the value *in
@ -13,5 +11,6 @@ static int foo(int i) {
} }
int bar() { int bar() {
// CHECK: ret i32 1
return foo(-5) == -1; return foo(-5) == -1;
} }