Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / vla-25.c
blobf6041575a097fed108688015b0bf68315e368a28
1 /* Test [*] diagnosed on old-style parameter declaration. PR c/88704. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c99 -pedantic-errors" } */
5 void
6 f (x)
7 int x[*];
8 { /* { dg-error "not allowed in other than function prototype scope" } */