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