[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / Woverflow-2.c
blob44368b66f9f739daf2b19f0ff847b98caa9bde4a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Woverflow" } */
4 #include <limits.h>
6 int foo = INT_MAX + 1; /* { dg-warning "integer overflow" } */