rt_gccstream/gcc/testsuite/gcc.dg/Wmissing-parameter-type.c

7 lines
159 B
C

/* { dg-do compile } */
/* { dg-options "-Wmissing-parameter-type" } */
int foo(bar) { return bar; } /* { dg-warning "type of 'bar' defaults to 'int'" } */