Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic-alias7.C

raw
1 // PR c++/102869
2 // { dg-do compile { target c++11 } }
3
4 template<int...> struct integer_sequence;
5
6 template<int _Num>
7 using make_index_sequence = integer_sequence<__integer_pack(_Num)...>;
8
9 template<class...> struct Tuple;
10
11 template<int... Is> using tuple_t = Tuple<make_index_sequence<Is>...>;
12
13 template<int... Is>
14 void f() {
15 tuple_t<Is...> t;
16 }