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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
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