1 // { dg-do compile { target c++11 } } 2 3 template <class Z = void, class T> Foo(T)4 void Foo(T) 5 { 6 struct X {}; 7 } 8 9 template <class T = int, typename U> f(const U &)10 void f(const U&) 11 { 12 auto g = [] () {}; 13 } 14