This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13717] New: duplicated parameter name not caught ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]