[Bug c++/61471] redeclaration of default-argument in function template declaration not caught
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 11 11:15:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-11
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We diagnose this if the function template is instantiated. I'm not sure if
we're required to diagnose it for uninstantiated templates.
More information about the Gcc-bugs
mailing list