public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing.
@ 2004-02-05 12:51 mattyt-bugzilla at tpg dot com dot au
  2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mattyt-bugzilla at tpg dot com dot au @ 2004-02-05 12:51 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-02-06 18:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-05 12:51 [Bug c++/14028] New: Parser accepts invalid unbalanced triangular bracketing mattyt-bugzilla at tpg dot com dot au
2004-02-05 15:44 ` [Bug c++/14028] [3.4/3.5 regression] " bangerth at dealii dot org
2004-02-05 16:31 ` giovannibajo at libero dot it
2004-02-06  4:11 ` giovannibajo at libero dot it
2004-02-06 15:43 ` pinskia at gcc dot gnu dot org
2004-02-06 17:24 ` cvs-commit at gcc dot gnu dot org
2004-02-06 17:27 ` cvs-commit at gcc dot gnu dot org
2004-02-06 18:14 ` cvs-commit at gcc dot gnu dot org
2004-02-06 18:15 ` cvs-commit at gcc dot gnu dot org
2004-02-06 18:16 ` giovannibajo at libero dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).