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
* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Werror-2.c
blob
8e08ba0857ea674ba04d27a256b4d72e1ac4bbd5
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
__attribute__
((
dj
))
bar
() { }
/* { dg-warning "warning: .* attribute directive ignored" } */
8
9
int
i
;
10
11
void
12
foo
()
13
{
14
if
(&
i
)
15
grill
();
16
}