* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic8.C
blobe2d7fa7a7a51d882d5a5e9beade7682ad0a0a253
1 // { dg-do compile { target c++11 } }
2 template<typename... Args>
3 struct tuple_base {
4   static const int value = 0;
5 };
7 template<>
8 struct tuple_base<int*>
10   static const int value = 1;
13 template<typename T>
14 struct tuple_base<T*>
16   static const int value = 2;
19 template<typename... Args>
20 struct tuple_of_pointers : tuple_base<Args*...> { };
22 int a1[tuple_of_pointers<int>::value == 1? 1 : -1];
23 int a2[tuple_of_pointers<float>::value == 2? 1 : -1];