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  }