PR c++/7019
* cp-tree.h (lookup_qualified_name): Adjust prototype. * decl.c (lookup_qualified_name): Add complain parameter. Adjust call to is_aggr_type. * parser.c (cp_parser_lookup_name): Adjust call to lookup_qualified_name. * pt.c (tsubst_qualified_id): Likewise. (tsubst_copy_and_build): Likewise. * semantics.c (finish_qualified_id_expr): Deal with erroneous expressions. PR c++/7019 * g++.dg/template/overload2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69342 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
Please register or sign in to comment