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++/61472] added default-argument in later declaration of function template not caught


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I messed up my test for this too - we only diagnose it if you try to use the
default argument, so it seems to be ignored on the redeclaration.


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