// PR c++/65071 // { dg-do compile { target c++11 } } template struct S {}; template class... T, int N> S foo(T...); auto x = foo(S<2>{});