Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla17.C
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
();
}
}