anon6.C
423 Bytes
-
decl.c (push_class_binding): Use context_for_name_lookup instead of CP_DECL_CONTEXT. · 55de1b66
* 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
Jakub Jelinek committed