LWG 3035. std::allocator's constructors should be constexpr
[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" } */