1 // { dg-do compile { target c++11 } }
2 template<typename... Args>
4 static const int value = 0;
8 struct tuple_base<int*>
10 static const int value = 1;
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];