]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr35430.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr35430.c
1 /* PR c/35430 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsign-compare" } */
4
5 void
6 foo (__complex__ int i)
7 {
8 i == 0u;
9 i == ~1u; /* { dg-warning "comparison of integer expressions of different signedness" } */
10 }