[Bug c++/32505] Partial specialization halfway accepted after instantiation
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 16 16:22:00 GMT 2010
------- Comment #3 from jason at gcc dot gnu dot org 2010-07-16 16:22 -------
Confirmed; no diagnostic is required by the standard, but we really ought to
give one anyway. Simpler testcase:
template <class T> struct A { };
A<int*> a;
template <class T> struct A<T*> { }; // { dg-error "A<int *>" }
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2010-07-16 16:22:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32505
More information about the Gcc-bugs
mailing list