repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverflow-1.C
blob
064af4561eaa6a710043afdcefd01d1a464b3eda
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
#include <limits.h>
5
6
int foo = INT_MAX + 1; /* { dg-warning "integer overflow" } */
7