* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr70338.C
blob0c5d50b17d5fc315de56fd8fd9bb72aab46f26e9
1 // PR c++/70338
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-g" }
4 // { dg-require-effective-target alloca }
6 template<typename T>
7 void
8 foo (int x)
10   T a[x];
11   auto b = [&]() { for (auto &c: a) c = 0.; };
14 int
15 main ()
17   foo<double> (3);