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

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 29 15:13:00 GMT 2006



------- Comment #5 from rguenth at gcc dot gnu dot org  2006-05-29 15:13 -------
Based on 8.3.5/8 and the example from 8.3.6/9 which reads

 int f(int a, int b = a);

I think this bug is invalid and function declarations with duplicate parameter
names are not invalid.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13717



More information about the Gcc-bugs mailing list