Fix test.

With -### clang return 0, so we have to use FileCheck to see if there was an
error.

llvm-svn: 191923
This commit is contained in:
Rafael Espindola 2013-10-03 19:18:22 +00:00
parent cda2911caa
commit 6b186a610b
1 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,5 @@
// Note that we filter out all but the last -m(no)sse.
// Test that we don't produce an error with -mieee-fp.
// RUN: %clang -### %s -mieee-fp -S
// RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s
// IEEE-NOT: error: unknown argument