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
/
overflow-warn-7.c
blob
7c0ce68df50864187e0fbcecf10a60c42d3595a3
1
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
4
int
f
(
char
*
device
)
5
{
6
return
device
== ((
char
*)
0
+ ~
0UL
);
/* { dg-bogus "overflow" } */
7
}
8