summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c89.c
blob: 441899edb3dc553dbe3b990be95447db55837af2 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-std=c89 -Wimplicit-function-declaration" } */

void f(void) 
{ 
  puts("Hello"); /* { dg-warning "implicit declaration of function" } */
}