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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Woverflow-2.c
blob
44368b66f9f739daf2b19f0ff847b98caa9bde4a
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -Woverflow" } */
3
4
#include <limits.h>
5
6
int
foo
=
INT_MAX
+
1
;
/* { dg-warning "integer overflow" } */
7