summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic38.C
blob: e4ae4a6305d68695d3563cf61b43df0515ea98e3 (plain)
1
2
3
4
5
6
// { dg-options "-std=gnu++0x" }
template<int... Values>
struct int_vec {};

template<int... Values>
struct int_vec<0, (Values+1)...> {}; // { dg-error "involves template parameter" }