// { dg-do compile { target c++11 } } template struct get_first_arg; template class _Template, typename _Tp, typename... _Types> struct get_first_arg<_Template<_Tp, _Types...>> { using type = _Tp; }; template struct A { }; template struct same; template struct same {}; same>::type, int> x;