/* PR c/99324 */ #include int foo (int x, ...) { va_list a; va_start (a, x); int b[6] = {}; int bar (c) int c[1][va_arg (a, int)]; { return sizeof c[0]; } int r = bar (b); va_end (a); return r; }