]> granicus.if.org Git - clang/commitdiff
fix a broken test, that passed for the wrong reason. Two wrongs make a right! :)
authorChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 07:02:57 +0000 (07:02 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 07:02:57 +0000 (07:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69155 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/diag-mapping.c

index f6ace02d077b55748319e2141dbc5773930ff9c5..0c5730f9e77dd79198cad009b69cda4f7f2d91ec 100644 (file)
@@ -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