This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14361] New: Accepting invalid code with weird default parameter trailer.
- 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: 1 Mar 2004 09:38:44 -0000
- Subject: [Bug c++/14361] New: Accepting invalid code with weird default parameter trailer.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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