PR c++/85731 - wrong error with qualified-id in template.
authorJason Merrill <jason@redhat.com>
Tue, 5 Jun 2018 11:27:12 +0000 (07:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 5 Jun 2018 11:27:12 +0000 (07:27 -0400)
commit066c4268db267ef6d88498b001b143db404e495e
tree02d15ca6201cbea5a62728fe74ecdcfe98705b6f
parentb401e50fed4def25e82ee118ea42e7145a85c56b
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.

From-SVN: r261196
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/template/qualified-id7.C [new file with mode: 0644]