summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/var-templ31.C
blob: e2bc59bd489c3de799a64396715d950fbf741ff7 (plain)
1
2
3
4
5
6
7
8
// PR c++/66061
// { dg-do compile { target c++14 } }

template<int...>
int x = 1;

template<int n, int... m>
int x<n, m...> = 1;