aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/Wmissing-parameter-type.c
blob: 8ec94e2caf785986473a83cc936f36992ba44d1f (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-Wmissing-parameter-type" } */

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