(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
Wparentheses-14.c
       1  /* PR c/71926 */
       2  /* { dg-options "-Wparentheses" }  */
       3  
       4  int
       5  f (void)
       6  {
       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;
      11  }