summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic117.C
blob: 22f2fc5ae2dd295992408ddd43d84452110c0ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options -std=c++0x }

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);
}