1 /* Test operation of -Wparentheses. Warnings for ambiguous else. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
4 /* { dg-do compile } */
5 /* { dg-options "-Wparentheses" } */
20 if (c
) /* { dg-warning "ambiguous" "correct warning" } */
29 if (b
) /* { dg-warning "ambiguous" "correct warning" } */
34 if (a
) /* { dg-warning "ambiguous" "correct warning" } */