blob: aec127f2afc622630b2adad78e80cf613cc6518e [file] [log] [blame]
/* 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();
}