This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13717] New: duplicated parameter name not caught ?
- From: "d dot binderman at virgin dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2004 11:28:03 -0000
- Subject: [Bug c++/13717] New: duplicated parameter name not caught ?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The one liner
void f( int fred, char * fred);
is IMHO illegal code because fred is the name of two parameters.
I couldn't get gcc332 to find the bug in this code.
This is salted down from real code in Fedora Core 1.
--
Summary: duplicated parameter name not caught ?
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: d dot binderman at virgin dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: linux-i386
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13717