diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-15 07:02:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-15 07:02:57 +0000 |
commit | e9dba4868453734149aadb584bd883c5aedc7df3 (patch) | |
tree | ef0849614cd6426b263dc1d452593f34136c23ed /clang/test/Misc/diag-mapping.c | |
parent | e007de3b9a173be5c329662622829227313283c0 (diff) | |
download | bcm5719-llvm-e9dba4868453734149aadb584bd883c5aedc7df3.tar.gz bcm5719-llvm-e9dba4868453734149aadb584bd883c5aedc7df3.zip |
fix a broken test, that passed for the wrong reason. Two wrongs make a right! :)
llvm-svn: 69155
Diffstat (limited to 'clang/test/Misc/diag-mapping.c')
-rw-r--r-- | clang/test/Misc/diag-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/diag-mapping.c b/clang/test/Misc/diag-mapping.c index f6ace02d077..0c5730f9e77 100644 --- a/clang/test/Misc/diag-mapping.c +++ b/clang/test/Misc/diag-mapping.c @@ -16,7 +16,7 @@ // RUN: clang-cc %s -pedantic-errors 2>&1 | grep "error:" && // This should emit a warning, because -Wfoo overrides -pedantic*. -// RUN: clang-cc %s -pedantic-errors -Wextra_tokens 2>&1 | grep "error:" && +// RUN: clang-cc %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:" && // This should emit nothing, because -Wno-extra-tokens overrides -pedantic* // RUN: clang-cc %s -pedantic-errors -Wno-extra-tokens 2>&1 | not grep diagnostic |