re PR c++/27714 (operator new as friend in template class rejected)
authorJason Merrill <jason@gcc.gnu.org>
Thu, 24 Aug 2006 15:54:39 +0000 (11:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Aug 2006 15:54:39 +0000 (11:54 -0400)
commitc9cbfca6f52f65d6914a33715d39ec9fa0619a18
tree6145e1985cc5cce5f430e5503ba9356571c67dc2
parentcd051390eb3cd88975f444d0174333bd3baf2085
re PR c++/27714 (operator new as friend in template class rejected)

        PR c++/27714
        * pt.c (push_template_decl_real): A friend template with class
        scope isn't primary.

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