arocc
arocc copied to clipboard
`static` keyword not allowed in array parameters for K&R style function definition
The following is not accepted but should be:
void foo(x)
int x[static 5];
{
}
./test.c:2:10: error: 'static' used outside of function parameters
int x[static 5];
^