From 17e681fe9cb11c16e5c1a943d5d54df2ec7980e8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 15 Apr 2009 07:03:57 +0000 Subject: [PATCH] add a missing && git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69156 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Misc/diag-mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:" && -- 2.50.1