]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/Werror-implicit-function-declaration.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / Werror-implicit-function-declaration.c
1 /* Test the legacy option -Werror-implicit-function-declaration */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c89 -Werror-implicit-function-declaration" } */
4 /* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
5 void f(void)
6 {
7 puts("Hello"); /* { dg-error "implicit declaration of function" } */
8 }