(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
temp_default5.C
// { dg-do compile { target c++11 } }

template <class Z = void, class T>
void Foo(T)
{
  struct X {};
}

template <class T = int, typename U>
void f(const U&)
{
  auto g = [] () {};
}