/* { dg-do compile } */ /* { dg-options "-O2" } */ #include int foo = INT_MAX + 1; /* { dg-warning "integer overflow" } */