From: Chris Lattner Date: Wed, 15 Apr 2009 07:03:57 +0000 (+0000) Subject: add a missing && X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17e681fe9cb11c16e5c1a943d5d54df2ec7980e8;p=clang add a missing && git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69156 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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:" &&