repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla17.C
blob
3c2dbff4c2639eb7553ddf51dbaf0743dace3958
1
// PR c++/69487
2
// { dg-do run }
3
// { dg-options -Wno-vla }
4
// { dg-require-effective-target alloca }
5
6
int size = 6;
7
8
int main()
9
{
10
char buffer[size] = "";
11
for (int i = 0; i != size; ++i)
12
{
13
if (buffer[i] != 0)
14
__builtin_abort();
15
}
16
}