[MAINTAINERS] Update email and move to DCO
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / vla6.C
blobfc009cbea18eff89fad4bae31bdce4e8b4a9724b
1 // PR c++/57404
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-g" }
4 // { dg-require-effective-target alloca }
6 void f (int i)
8   int a[i];
9   [&a] {};
12 void g (int i)
14   int a[i];
15   [&a] {} ();