https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696
zhonghao at pku dot org.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zhonghao at pku dot org.cn
--- Comment #11 from zhonghao at pku dot org.cn ---
Is this bug really fixed? I tried the latest version, but it is still rejected:
<source>:1:28: error: use of parameter outside function body before ']' token
1 | void foo(int n, int a[][n])
| ^
<source>: In function 'void foo(...)':
<source>:4:9: error: 'a' was not declared in this scope
4 | a[23][0] = 42;
| ^
Compiler returned: 1