re PR c++/66061 (Internal Compiler Error when specializing a variable template when the specialization is variadic)
PR c++/66061 * g++.dg/cpp1y/var-templ31.C: New. From-SVN: r224675
This commit is contained in:
parent
490948ca36
commit
2e56298708
8
gcc/testsuite/g++.dg/cpp1y/var-templ31.C
Normal file
8
gcc/testsuite/g++.dg/cpp1y/var-templ31.C
Normal file
@ -0,0 +1,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;
|
Loading…
Reference in New Issue
Block a user