decl.c (push_class_binding): Use context_for_name_lookup instead of CP_DECL_CONTEXT.
* decl.c (push_class_binding): Use context_for_name_lookup instead of CP_DECL_CONTEXT. * search.c (context_for_name_lookup): Remove static. Check for NULL context in the loop. * cp-tree.h (context_for_name_lookup): Add prototype. * g++.old-deja/g++.other/anon6.C: New test. * g++.old-deja/g++.other/anon7.C: New test. From-SVN: r39417
Showing
gcc/testsuite/g++.old-deja/g++.other/anon6.C
0 → 100644
gcc/testsuite/g++.old-deja/g++.other/anon7.C
0 → 100644
Please
register
or
sign in
to comment