1 /* PR c/19999 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wfloat-equal" } */
4 
5 double a, b;
6 _Complex double c, d;
f(void)7 int f(void) { return a == b; } /* { dg-warning "comparing floating point" } */
g(void)8 int g(void) { return c == d; } /* { dg-warning "comparing floating point" } */
h(void)9 int h(void) { return a != b; } /* { dg-warning "comparing floating point" } */
i(void)10 int i(void) { return c != d; } /* { dg-warning "comparing floating point" } */
11