OSDN Git Service

Call abort for runtime test, always return 0 from main.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Werror-implicit-function-declaration.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=c89 -Werror-implicit-function-declaration" } */
3
4 void f(void) 
5
6   puts("Hello"); /* { dg-error "implicit declaration of function" } */
7 }