summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr35444-1.c
blob: f855887868b21f91689c9311dd965e2d880f3ff1 (plain)
1
2
3
/* PR 35444: ICE from pending VLA sizes in invalid parameter list.  */
void foo(int n, int a[n], int 0); /* { dg-error "expected" } */
void bar() {}