This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing.
- From: "mattyt-bugzilla at tpg dot com dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2004 12:51:23 -0000
- Subject: [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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