1 /* PR c/35430 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsign-compare" } */
4 
5 void
foo(__complex__ int i)6 foo (__complex__ int i)
7 {
8   i == 0u;
9   i == ~1u;	/* { dg-warning "comparison between signed and unsigned integer expressions" } */
10 }
11