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 | 92af2104109f706c8b72952b29baf182b598302c (patch) | |
tree | 91df5b3c479dc3c75598e61c4deb8762cda54330 /test/Misc/diag-mapping.c | |
parent | 27ceb9d77d929f02a8a811d189a96885629c7c0c (diff) |
fix a broken test, that passed for the wrong reason. Two wrongs make a right! :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/diag-mapping.c')
-rw-r--r-- | test/Misc/diag-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/diag-mapping.c b/test/Misc/diag-mapping.c index f6ace02d07..0c5730f9e7 100644 --- a/test/Misc/diag-mapping.c +++ b/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 |