[Bug c++/20173] [4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 31 02:11:00 GMT 2006
------- Comment #13 from mmitchel at gcc dot gnu dot org 2006-05-31 02:11 -------
Subject: Bug 20173
Author: mmitchel
Date: Wed May 31 02:11:20 2006
New Revision: 114260
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114260
Log:
PR c++/20173
* pt.c (determine_specialization): Disallow partial
specializations of templates.
PR c++/20173
* g++.dg/template/error21.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/error21.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
More information about the Gcc-bugs
mailing list