[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 30 06:06:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85128
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC is correct here. The C++ standard says there is no need for a diagnostic
even if the code is invalid C++.
More information about the Gcc-bugs
mailing list