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++: make source_location follow DECL_RAMP_FN
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Waddress.c
blob
b26e7b1f3294710bef15d9982d5cb1638ab92592
1
/* PR c/36299 */
2
/* { dg-do compile } */
3
/* { dg-options "-Waddress" } */
4
5
int
6
foo
(
void
)
7
{
8
char
a
[
1
];
9
return
a
==
0
;
// { dg-warning "-Waddress" }
10
}