[Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing.
mattyt-bugzilla at tpg dot com dot au
gcc-bugzilla@gcc.gnu.org
Thu Feb 5 12:51:00 GMT 2004
The following code:
template < typename TP > struct A {};
template < typename TP > class B : public TP::template K < A < TP > {};
is accepted by 3.4, but should presumably be rejected due to the unbalanced
triangular bracketing.
3.2 and 3.3 reject this like they should.
--
Summary: Parser accepts invalid unbalanced triangular bracketing.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mattyt-bugzilla at tpg dot com dot au
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14028
More information about the Gcc-bugs
mailing list