Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic39.C

raw
1 // { dg-do compile { target c++11 } }
2 template<typename... Args>
3 struct tuple {};
4
5 template<typename T, typename... Args>
6 struct tuple<Args..., T> { }; // { dg-error "end" }
7
8
9 template<int... Values>
10 struct int_vec { };
11
12 template<int I, int... Values>
13 struct int_vec<Values..., I> { }; // { dg-error "end" }