1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Origin: PR c++/53609 // { dg-do compile { target c++11 } } template<class...I> struct List {}; template<int T> struct Z {static const int value = T;}; template<int...T> using LZ = List<Z<T>...>; template<class...U> struct F { using N = LZ<U::value...>; }; F<Z<1>, Z<2> >::N A;