re PR c++/27714 (operator new as friend in template class rejected)
authorJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2006 04:42:46 +0000 (00:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2006 04:42:46 +0000 (00:42 -0400)
commitbb6e56215c46410b8e3422dd10d2eab27df148bd
treef0d669ce4e3a7da6549ff59b88aaeea49b7a79a9
parente753d13078bee898cd97c3a29324025ab19b3233
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: r116551
gcc/testsuite/g++.dg/template/new7.C [new file with mode: 0644]