https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123876
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63529&action=edit gcc16-pr123876.patch Untested fix. Note, the C++ FE diagnoses this already in the FE.
