blob: f6041575a097fed108688015b0bf68315e368a28 (
plain)
1
2
3
4
5
6
7
8
9
|
/* 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" } */
}
|