https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71515
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Dec 6 18:51:50 2016 New Revision: 243313 URL: https://gcc.gnu.org/viewcvs?rev=243313&root=gcc&view=rev Log: PR c++/71515 - typename in partial specialization * pt.c (resolve_typename_type): Try to avoid calling currently_open_class. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/template/typename22.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/pt.c