PR c++/78749 - friend in anonymous namespace
authorJason Merrill <jason@redhat.com>
Wed, 21 Dec 2016 18:28:54 +0000 (13:28 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 Dec 2016 18:28:54 +0000 (13:28 -0500)
commit8f0db5664a193a11e1141f003edbff48c29274ca
treebe8b71a56457f32bdda83c30bc2955346ff4a1cd
parentd697acca12fb5ace0ed1800c39f4fb2d5adb04e8
PR c++/78749 - friend in anonymous namespace

* decl.c (wrapup_globals_for_namespace): Don't complain about friend
pseudo-template instantiations.

From-SVN: r243862
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/warn/Wunused-function3.C [new file with mode: 0644]