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

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