[Bug c++/85731] [8/9 Regression] Inner class method declaration changes meaning of outer template class template method
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 5 11:27:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85731
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 5 11:27:12 2018
New Revision: 261196
URL: https://gcc.gnu.org/viewcvs?rev=261196&root=gcc&view=rev
Log:
PR c++/85731 - wrong error with qualified-id in template.
* semantics.c (finish_qualified_id_expr): build_qualified_name
for unbound names in the current class.
Added:
trunk/gcc/testsuite/g++.dg/template/qualified-id7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list