[Bug c++/68170] [6 Regression] Declaring friend template class template in C++1z produces error: specialization of ‘template?=<class T>=?UTF-8?Q? class A’ must appear at namespace
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 7 19:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68170
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Dec 7 19:34:04 2015
New Revision: 231380
URL: https://gcc.gnu.org/viewcvs?rev=231380&root=gcc&view=rev
Log:
PR c++/68170
* pt.c (maybe_new_partial_specialization): The injected-class-name
is not a new partial specialization.
Added:
trunk/gcc/testsuite/g++.dg/template/friend60.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list