https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Martin Liška from comment #9) > Do I understand that correctly Jonathan that it's an issue in GCC? Or is it > an invalid code snippet? This is a GCC bug. The code should be accepted without an error.