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
[MAINTAINERS] Update email and move to DCO
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
vla6.C
blob
fc009cbea18eff89fad4bae31bdce4e8b4a9724b
1
// PR c++/57404
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-g" }
4
// { dg-require-effective-target alloca }
5
6
void f (int i)
7
{
8
int a[i];
9
[&a] {};
10
}
11
12
void g (int i)
13
{
14
int a[i];
15
[&a] {} ();
16
}