[cfe-commits] r69157 - /cfe/trunk/test/Misc/diag-mapping.c
Chris Lattner
sabre at nondot.org
Wed Apr 15 00:05:13 PDT 2009
Author: lattner
Date: Wed Apr 15 02:05:12 2009
New Revision: 69157
URL: http://llvm.org/viewvc/llvm-project?rev=69157&view=rev
Log:
add another sanity check for -Werror=xx
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=69157&r1=69156&r2=69157&view=diff
==============================================================================
--- cfe/trunk/test/Misc/diag-mapping.c (original)
+++ cfe/trunk/test/Misc/diag-mapping.c Wed Apr 15 02:05:12 2009
@@ -9,6 +9,9 @@
// -Werror can map this one warning to error.
// RUN: clang-cc %s -Werror=extra-tokens 2>&1 | grep "error:" &&
+// Mapping unrelated diags to errors doesn't affect this one.
+// RUN: clang-cc %s -Werror=trigraphs 2>&1 | grep "warning:" &&
+
// This should stay a warning with -pedantic.
// RUN: clang-cc %s -pedantic 2>&1 | grep "warning:" &&
More information about the cfe-commits
mailing list