Sign in
gnu
/
gcc
/
61351ab96a4dfa0884c8b1a53342b97915fb5dd7
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vla-25.c
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" } */
}