aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic38.C
blob: 62031a3d0015a2f8861071538a210e6ae966844c (plain)
1
2
3
4
5
6
// { dg-do compile { target c++11 } }
template<int... Values>
struct int_vec {};

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