diff options
Diffstat (limited to 'test/Sema/parentheses.c')
-rw-r--r-- | test/Sema/parentheses.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/parentheses.c b/test/Sema/parentheses.c index 300e58558867..b7f1b6e93aa5 100644 --- a/test/Sema/parentheses.c +++ b/test/Sema/parentheses.c @@ -118,5 +118,5 @@ void conditional_op(int x, int y, _Bool b) { (void)(x % 2 ? 1 : 2); // no warning } -// RUN: %clang_cc1 -fsyntax-only -Wparentheses -Werror -fdiagnostics-show-option %s 2>&1 | FileCheck %s -check-prefix=CHECK-FLAG +// RUN: not %clang_cc1 -fsyntax-only -Wparentheses -Werror -fdiagnostics-show-option %s 2>&1 | FileCheck %s -check-prefix=CHECK-FLAG // CHECK-FLAG: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses] |