summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Misc/diag-mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/diag-mapping.c b/clang/test/Misc/diag-mapping.c
index 0c5730f9e77..73a36ee3caa 100644
--- a/clang/test/Misc/diag-mapping.c
+++ b/clang/test/Misc/diag-mapping.c
@@ -1,7 +1,7 @@
// This should warn by default.
// RUN: clang-cc %s 2>&1 | grep "warning:" &&
// This should not emit anything.
-// RUN: clang-cc %s -Wno-extra-tokens 2>&1 | not grep diagnostic
+// RUN: clang-cc %s -Wno-extra-tokens 2>&1 | not grep diagnostic &&
// -Werror can map all warnings to error.
// RUN: clang-cc %s -Werror 2>&1 | grep "error:" &&
OpenPOWER on IntegriCloud