summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic-ttp5.C
blob: 43f951a028620a64e949308e7cf4765adb73ef10 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile { target c++11 } }

template <typename, typename> struct A { };
template <typename T> struct B { };

template <typename T, template <T...> class C, T... Is>
struct A<B<T>, C<Is...>>
{
  using type = C<Is...>;
};