1 2 3 4 5 6 7 8
/* { dg-do compile } */ /* { dg-options "-Wall" } */ int f(char *device) { return device == ((char *)0 + ~0UL); /* { dg-bogus "overflow" } */ }