Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.2
/
.
/
gcc
/
testsuite
/
gcc.dg
/
Wimplicit-function-declaration-c89.c
blob: 441899edb3dc553dbe3b990be95447db55837af2 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=c89 -Wimplicit-function-declaration" } */
void
f
(
void
)
{
puts
(
"Hello"
);
/* { dg-warning "implicit declaration of function" } */
}