blob: 40ef9fe90be2e96c627feb120ff193932417ede6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ICE with -Wstrict-prototypes and typeof an undeclared function.
Bug 20368. */
/* { dg-do compile } */
/* { dg-options "-Wstrict-prototypes" } */
extern __typeof (f) g; /* { dg-error "error: 'f' undeclared here \\(not in a function\\)" } */
int
f (x)
float x; /* { dg-warning "warning: function declaration isn't a prototype" } */
{
}
|