public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14361] New: Accepting invalid code with weird default parameter trailer.
@ 2004-03-01  9:38 mattyt-bugzilla at tpg dot com dot au
  2004-03-01  9:55 ` [Bug c++/14361] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mattyt-bugzilla at tpg dot com dot au @ 2004-03-01  9:38 UTC (permalink / raw)
  To: gcc-bugs

The code:

class A {
   A ( int n=0 int n );
};

compiles in G++-3.4, but shouldn't, as I understand it.

-- 
           Summary: Accepting invalid code with weird default parameter
                    trailer.
           Product: gcc
           Version: 3.4.0
            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=14361


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

end of thread, other threads:[~2004-03-02  2:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01  9:38 [Bug c++/14361] New: Accepting invalid code with weird default parameter trailer mattyt-bugzilla at tpg dot com dot au
2004-03-01  9:55 ` [Bug c++/14361] " pinskia at gcc dot gnu dot org
2004-03-01 21:10 ` [Bug c++/14361] [3.4/3.5 Regression] " mmitchel at gcc dot gnu dot org
2004-03-02  2:00 ` cvs-commit at gcc dot gnu dot org
2004-03-02  2:06 ` cvs-commit at gcc dot gnu dot org
2004-03-02  2:06 ` mmitchel at gcc dot gnu dot org
2004-03-02  2:07 ` mmitchel at gcc dot gnu dot org

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).