[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / overflow-warn-7.c
blob7c0ce68df50864187e0fbcecf10a60c42d3595a3
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 int f(char *device)
6 return device == ((char *)0 + ~0UL); /* { dg-bogus "overflow" } */