Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverflow-1.C
blob: 064af4561eaa6a710043afdcefd01d1a464b3eda [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
#include
<limits.h>
int
foo
=
INT_MAX
+
1
;
/* { dg-warning "integer overflow" } */