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" } */ }