summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c99-pedantic.c
blob: 05cca9a2b8d2b1d4c75ff50c26060f0841f217a3 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-std=c99 -pedantic-errors -Wall" } */

void f(void) 
{ 
  puts("Hello"); /* { dg-error "implicit declaration of function" } */
}