2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr35430.c
blobab5e4cac8a5467644754d22fdae8986c22a3149a
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 between signed and unsigned integer expressions" } */