Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
();
}
}