blob: 67467b0d2e0f50bad2295cfbb9957d1a9ce91135 [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-std=gnu2y" } */
#define assert(e) ((e) ? (void) 0 : __builtin_abort ())
void
inner_vla_noeval (void)
{
int i;
i = 3;
static_assert (_Countof (struct {int x[i++];}[3]) == 3);
assert (i == 3);
}
int
main (void)
{
inner_vla_noeval ();
}