[cfe-commits] r69155 - /cfe/trunk/test/Misc/diag-mapping.c

Chris Lattner sabre at nondot.org
Wed Apr 15 00:02:58 PDT 2009


Author: lattner
Date: Wed Apr 15 02:02:57 2009
New Revision: 69155

URL: http://llvm.org/viewvc/llvm-project?rev=69155&view=rev
Log:
fix a broken test, that passed for the wrong reason.  Two wrongs make a right! :)

Modified:
    cfe/trunk/test/Misc/diag-mapping.c

Modified: cfe/trunk/test/Misc/diag-mapping.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/diag-mapping.c?rev=69155&r1=69154&r2=69155&view=diff

==============================================================================
--- cfe/trunk/test/Misc/diag-mapping.c (original)
+++ cfe/trunk/test/Misc/diag-mapping.c Wed Apr 15 02:02:57 2009
@@ -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





More information about the cfe-commits mailing list