Debian Codegraph @

gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c89-default.c

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