Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.dg
/
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" } */