gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / vla-10.c
blob47dff47c55f353653056aa31b4535a4b91d5ac2d
1 /* ICE with VLA in nested parameter declaration: should be treated
2 like [*] instead of the size being expanded. Bug 28504 from Volker
3 Reichelt <reichelt@gcc.gnu.org>. */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
7 void foo(void (*p)(int n, int x[n])) {}