blob: 3c2dbff4c2639eb7553ddf51dbaf0743dace3958 [file] [log] [blame]
// PR c++/69487
// { dg-do run }
// { dg-options -Wno-vla }
// { dg-require-effective-target alloca }
int size = 6;
int main()
{
char buffer[size] = "";
for (int i = 0; i != size; ++i)
{
if (buffer[i] != 0)
__builtin_abort();
}
}