aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic117.C
blob: 04663d2b64e28221555eef558fd7676a6cf12054 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++11 } }

template <class T> struct A { typedef T type; };

template <template <class...> class T, class... U>
void f(typename T<U...>::type);

int main()
{
  f<A,int>(42);
}