blob: f6041575a097fed108688015b0bf68315e368a28 [file] [log] [blame]
/* Test [*] diagnosed on old-style parameter declaration. PR c/88704. */
/* { dg-do compile } */
/* { dg-options "-std=c99 -pedantic-errors" } */
void
f (x)
int x[*];
{ /* { dg-error "not allowed in other than function prototype scope" } */
}