re PR c++/45330 (Suggest likely nested-name-specifiers for undeclared identifiers.)
gcc/cp/ PR c++/45330 * cp-tree.h (suggest_alternatives_for): Add location_t parameter. * name-lookup.c (suggest_alternatives_for): Likewise. Adjust. * lex.c (unqualified_name_lookup_error): Adjust call to it. * semantics.c (qualified_name_lookup_error): Move to... * error.c (qualified_name_lookup_error): ...here. Call. suggest_alternatives_for. gcc/testsuite/ PR c++/45330 * g++.dg/lookup/suggestions1.C: New test. From-SVN: r167814
Showing
gcc/testsuite/g++.dg/lookup/suggestions1.C
0 → 100644
Please
register
or
sign in
to comment