cb4af25a MLI |
1 | /* Test that we can disable -Wmissing-parameter-type */ |
2 | /* { dg-do compile } */ |
8ece1ab3 |
3 | /* { dg-options "-Wall -Wextra -Wno-missing-parameter-type -std=gnu89" } */ |
cb4af25a MLI |
4 | |
5 | int foo(bar) { return bar;} /* { dg-bogus "type of 'bar' defaults to 'int'" } */ |
6 | |
7 | |