blob: 9c02d0715c11c6b29414e786047e634a1b08ecb4 [file] [log] [blame]
// PR c++/104624
// { dg-do compile { target c++14 } }
template <typename T>
auto f (T)
{
auto a = [](auto ... i) // { dg-prune-output "incomplete" }
{
int x[][i] = { 0 }; // { dg-error "not expanded" }
}();
}
void g ()
{
f(0);
}