2 /* { dg-do compile } */
3 /* { dg-options "-Wsign-compare" } */
6 typedef unsigned short T
;
8 #if __SIZEOF_SHORT__ * __CHAR_BIT__ == 16
10 foo (unsigned short x
)
19 if (!(x
^ 0xFFFF)) /* { dg-bogus "promoted bitwise complement of an unsigned value is always nonzero" } */