Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / Wparentheses-14.c
blob36dedf714768702ac96927a2d3607dfa710bdf08
1 /* PR c/71926 */
2 /* { dg-options "-Wparentheses" } */
4 int
5 f (void)
7 int a = 1, b = 2, c = 3, d = 4;
8 if (a = 2 || (b != 3 && c != 4 && d != 5)) /* { dg-warning "7:suggest parentheses" } */
9 return 1;
10 return 0;