aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vla-10.c
blob: 47dff47c55f353653056aa31b4535a4b91d5ac2d (plain)
1
2
3
4
5
6
7
/* ICE with VLA in nested parameter declaration: should be treated
   like [*] instead of the size being expanded.  Bug 28504 from Volker
   Reichelt <reichelt@gcc.gnu.org>.  */
/* { dg-do compile } */
/* { dg-options "" } */

void foo(void (*p)(int n, int x[n])) {}