summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic39.C
blob: bd656ba85049c65d3366c1b3c3e7213a99338c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options "-std=gnu++0x" }
template<typename... Args>
struct tuple {};

template<typename T, typename... Args>
struct tuple<Args..., T> { }; // { dg-error "end" }


template<int... Values>
struct int_vec { };

template<int I, int... Values>
struct int_vec<Values..., I> { }; // { dg-error "end" }