Commit 2e562987 by Jason Merrill

re PR c++/66061 (Internal Compiler Error when specializing a variable template…

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
parent 490948ca
// PR c++/66061
// { dg-do compile { target c++14 } }
template<int...>
int x = 1;
template<int n, int... m>
int x<n, m...> = 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment