/* PR c/109450 * { dg-do run } * { dg-options "-std=gnu99" } * */ int bar(int n, struct foo* x) /* { dg-warning "not be visible" } */ { int a = n; struct foo { char buf[n++]; }* p = x; return a; } int main() { if (1 != bar(1, 0)) __builtin_abort(); }