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
/
Wimplicit-function-declaration-c89-pedantic.c
blob
5491aea793bf3d6f1f71ff7d79840dca6b61e9c6
1
/* { dg-do compile } */
2
/* { dg-options "-std=c89 -pedantic-errors -Wimplicit-function-declaration" } */
3
4
void
f
(
void
)
5
{
6
puts
(
"Hello"
);
/* { dg-warning "implicit declaration of function" } */
7
}