summaryrefslogtreecommitdiffstats
path: root/test/Misc/diag-mapping.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-15 07:03:57 +0000
committerChris Lattner <sabre@nondot.org>2009-04-15 07:03:57 +0000
commit17e681fe9cb11c16e5c1a943d5d54df2ec7980e8 (patch)
tree7e0d98dd5ef2cd5be0a77ef076414011919269c5 /test/Misc/diag-mapping.c
parent92af2104109f706c8b72952b29baf182b598302c (diff)
add a missing &&
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/diag-mapping.c')
-rw-r--r--test/Misc/diag-mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/diag-mapping.c b/test/Misc/diag-mapping.c
index 0c5730f9e7..73a36ee3ca 100644
--- a/test/Misc/diag-mapping.c
+++ b/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:" &&