re PR c++/68170 (Declaring friend template class template in C++1z produces error...
authorJason Merrill <jason@redhat.com>
Mon, 7 Dec 2015 19:34:04 +0000 (14:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Dec 2015 19:34:04 +0000 (14:34 -0500)
commit7873d5fbc379c29055f5c67b3e33126bf0bdd214
tree9d4700ca03186f74f6ea5fe771fcd422cf346eb4
parent122ea31075edcb60b72a3729165e41355ec441e2
re PR c++/68170 (Declaring friend template class template in C++1z produces error: specialization of ‘template<class T> class A’ must appear at namespace)

PR c++/68170
* pt.c (maybe_new_partial_specialization): The injected-class-name
is not a new partial specialization.

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