[PR c++/87155] Anonymous namespace and
authorNathan Sidwell <nathan@acm.org>
Fri, 31 Aug 2018 12:38:00 +0000 (12:38 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 31 Aug 2018 12:38:00 +0000 (12:38 +0000)
commit7a4e1f7d634faf92e10cf1b42ef162187ddb5f70
tree7d6804c8aecb968760234b1f2d902ed8399e2e90
parent5036f628c7968180d01d7664adb09491493a3ff8
[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.

From-SVN: r264016
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/inline-ns10.C
gcc/testsuite/g++.dg/cpp0x/pr87155.C [new file with mode: 0644]