https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87155
--- Comment #8 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Fri Aug 31 12:57:45 2018 New Revision: 264017 URL: https://gcc.gnu.org/viewcvs?rev=264017&root=gcc&view=rev Log: [PR c++/87155] Anonymous namespace and https://gcc.gnu.org/ml/gcc-patches/2018-08/msg02031.html PR c++/87155 PR c++/84707 cp/ * name-lookup.c (name_lookup::search_namespace): Don't look at inlines when searching for NULL names. testsuite/ * g++.dg/cpp0x/pr87155.C: New. * g++.dg/cpp0x/inline-ns10.C: Adjust. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/pr87155.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/name-lookup.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/inline-ns10.C