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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this code is invalid (no diagnostic required; there was some talk about
changing this for C++23 to require a diagnostic) and GCC actually does the
right thing here.

Reply via email to