Skip to content
Snippets Groups Projects
Commit f3e6ef7d authored by Jason Merrill's avatar Jason Merrill
Browse files

c++: alias template and typename [PR103057]

Usually we handle DR1558 substitution near the top of tsubst, but in this
case while substituting TYPENAME_TYPE we were passing an alias
specialization to tsubst_aggr_type, which ignored its aliasness.

	PR c++/103057

gcc/cp/ChangeLog:

	* pt.cc (tsubst_aggr_type): Call tsubst for alias template
	specialization.

gcc/testsuite/ChangeLog:

	* g++.dg/cpp0x/alias-decl-void1.C: New test.
parent e0b8716f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment