1 /* { dg-do compile } */ 2 /* { dg-options "-std=c89 -Wimplicit-function-declaration" } */ 3 f(void)4 void f(void) 5 { 6 puts("Hello"); /* { dg-warning "implicit declaration of function" } */ 7 } 8