summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c89-default.c
blob: c725ffaca4670f5abb37cced660a3931699ed16c (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-std=c89" } */

void f(void) 
{ 
  puts("Hello"); /* { dg-bogus "warning: implicit declaration of function" } */
}
OpenPOWER on IntegriCloud