blob: 37e1a571bda78bc644a0cec8bea20740d13b58c8 (
plain)
1
2
3
4
5
6
7
|
/* Test -Wmissing-parameter-type is enabled by -Wextra */
/* { dg-do compile } */
/* { dg-options "-Wextra" } */
int foo(bar) { return bar;} /* { dg-warning "type of 'bar' defaults to 'int'" } */
|