diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-15 07:05:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-15 07:05:12 +0000 |
commit | 3fbbfcfea8279ed1d965d0950018ddc2d92f80a3 (patch) | |
tree | 8b88b3e8276be27c20b9c943185001c41929f8d6 /test/Misc/diag-mapping.c | |
parent | 17e681fe9cb11c16e5c1a943d5d54df2ec7980e8 (diff) |
add another sanity check for -Werror=xx
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/diag-mapping.c')
-rw-r--r-- | test/Misc/diag-mapping.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Misc/diag-mapping.c b/test/Misc/diag-mapping.c index 73a36ee3ca..dc07e0d092 100644 --- a/test/Misc/diag-mapping.c +++ b/test/Misc/diag-mapping.c @@ -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:" && |