PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr35430.c
blob7365ccfcf9437cfb2aee326447c9dd640842ace8
1 /* PR c/35430 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsign-compare" } */
5 void
6 foo (__complex__ int i)
8 i == 0u;
9 i == ~1u; /* { dg-warning "comparison of integer expressions of different signedness" } */