re PR c++/11030 (Cannot befriend a template specialization)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Tue, 8 Jul 2003 15:35:53 +0000 (15:35 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Tue, 8 Jul 2003 15:35:53 +0000 (15:35 +0000)
commitc4d0910c846a89358e0ee6c6e89a66351adfab90
tree8dcccbe28562c4c2e9eb425c5a552da0c76806b1
parentf5d1c3deeff9fc22e415894792b2cf1898354f0d
re PR c++/11030 (Cannot befriend a template specialization)

PR c++/11030
* pt.c (instantiate_class_template): Don't call xref_tag to
inject name when the friend class is a specialization.

* g++.dg/template/friend19.C: New test.

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