2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / Woverflow-1.c
blob064af4561eaa6a710043afdcefd01d1a464b3eda
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 #include <limits.h>
6 int foo = INT_MAX + 1; /* { dg-warning "integer overflow" } */