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:
Jason Merrill 2015-06-19 14:15:17 -04:00
parent 490948ca36
commit 2e56298708

View 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;