blob: 40ef9fe90be2e96c627feb120ff193932417ede6 [file] [log] [blame]
/* 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" } */
{
}