https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120646
Halalaluyafail3 <luigighiron at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Halalaluyafail3 <luigighiron at gmail dot com> --- Looking at the standard closer https://eel.is/c++draft/class.mem.general#nt:member-declarator this code is actually invalid since it only specifies an identifier can be used. However, the error message is still misleading so I will open another bug for that.