OSDN Git Service

2012-04-15 Fabien ChĂȘne <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic117.C
1 // { dg-options -std=c++0x }
2
3 template <class T> struct A { typedef T type; };
4
5 template <template <class...> class T, class... U>
6 void f(typename T<U...>::type);
7
8 int main()
9 {
10   f<A,int>(42);
11 }