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
invoke.texi: Document -Wdiscarded-array-qualifiers.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wmissing-parameter-type-no.c
blob
45e5e42c0daa4fa0729ac6ac78b3abb23648e16b
1
/* Test that we can disable -Wmissing-parameter-type */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall -Wextra -Wno-missing-parameter-type -std=gnu89" } */
4
5
int
foo
(
bar
) {
return
bar
;}
/* { dg-bogus "type of 'bar' defaults to 'int'" } */
6
7