PR c++/56973, DR 696 - capture constant variables only as needed.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / var-templ31.C
blobe2bc59bd489c3de799a64396715d950fbf741ff7
1 // PR c++/66061
2 // { dg-do compile { target c++14 } }
4 template<int...>
5 int x = 1;
7 template<int n, int... m>
8 int x<n, m...> = 1;