aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/Wmissing-parameter-type-no.c
blob: 1031e57a0c835554c4159410042739570c447f0f (plain)
1
2
3
4
5
6
7
/* Test that we can disable -Wmissing-parameter-type */
/* { dg-do compile } */
/* { dg-options "-Wall -Wextra -Wno-missing-parameter-type" } */

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