diff options
Diffstat (limited to 'test/Sema/parentheses.c')
-rw-r--r-- | test/Sema/parentheses.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/parentheses.c b/test/Sema/parentheses.c index b45d851..a25ded6 100644 --- a/test/Sema/parentheses.c +++ b/test/Sema/parentheses.c @@ -26,7 +26,8 @@ void bitwise_rel(unsigned i) { (void)(i == 1 | i == 2 | i == 3); (void)(i != 1 & i != 2 & i != 3); - (void)(i || i && i); // expected-warning {{'&&' within '||'}} \ + (void)(i || + i && i); // expected-warning {{'&&' within '||'}} \ // expected-note {{place parentheses around the '&&' expression to silence this warning}} (void)(i || i && "w00t"); // no warning. (void)("w00t" && i || i); // no warning. |