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
2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Werror-2.c
blob
32a7b331ae634eba990102a363e1b161bfbe44e8
1
/* { dg-do compile } */
2
/* { dg-options "" } */
3
4
/* This one is the baseline. Make sure with no option we get no
5
warnings. */
6
7
void
grill
();
8
void
__attribute__
((
dj
))
bar
() { }
/* { dg-warning ".* attribute directive ignored" } */
9
10
int
i
;
11
12
void
13
foo
()
14
{
15
if
(&
i
)
16
grill
();
17
}