https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- C++ FE rejects it with volatile and without.
jakub at gcc dot gnu.org via Gcc-bugs Fri, 24 Jan 2025 05:56:19 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- C++ FE rejects it with volatile and without.