PR c++/71227 - specializing hidden friend
authorJason Merrill <jason@redhat.com>
Tue, 31 May 2016 19:16:26 +0000 (15:16 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 31 May 2016 19:16:26 +0000 (15:16 -0400)
commitf795360d35caef4aa3a17015f415e8f3b200a3e5
treedca99a118f5909ca7413dd87d27a9d8a4ce9752b
parent3dc553dd32388c2d0528584d08d2d37538330462
PR c++/71227 - specializing hidden friend

* pt.c (check_explicit_specialization): Give better diagnostic about
specializing a hidden friend.

From-SVN: r236941
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/friend62.C [new file with mode: 0644]