c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-alias7.C
blob41a432a8e4103b31098bdb05479acb5b55377bbf
1 // PR c++/102869
2 // { dg-do compile { target c++11 } }
4 template<int...> struct integer_sequence;
6 template<int _Num>
7 using make_index_sequence = integer_sequence<__integer_pack(_Num)...>;
9 template<class...> struct Tuple;
11 template<int... Is> using tuple_t = Tuple<make_index_sequence<Is>...>;
13 template<int... Is>
14 void f() {
15   tuple_t<Is...> t;