diff options
author | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | 952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/Misc/diag-mapping.c | |
parent | ea266cad53e3d49771fa38103913d3ec7a166694 (diff) | |
download | FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz |
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/Misc/diag-mapping.c')
-rw-r--r-- | test/Misc/diag-mapping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Misc/diag-mapping.c b/test/Misc/diag-mapping.c index 75b49ef..edc137e 100644 --- a/test/Misc/diag-mapping.c +++ b/test/Misc/diag-mapping.c @@ -4,10 +4,10 @@ // RUN: %clang_cc1 %s -Wno-extra-tokens 2>&1 | not grep diagnostic // -Werror can map all warnings to error. -// RUN: %clang_cc1 %s -Werror 2>&1 | grep "error:" +// RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error:" // -Werror can map this one warning to error. -// RUN: %clang_cc1 %s -Werror=extra-tokens 2>&1 | grep "error:" +// RUN: not %clang_cc1 %s -Werror=extra-tokens 2>&1 | grep "error:" // Mapping unrelated diags to errors doesn't affect this one. // RUN: %clang_cc1 %s -Werror=trigraphs 2>&1 | grep "warning:" @@ -16,7 +16,7 @@ // RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:" // This should emit an error with -pedantic-errors. -// RUN: %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:" +// RUN: not %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:" // This should emit a warning, because -Wfoo overrides -pedantic*. // RUN: %clang_cc1 %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:" |