https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106613
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang rejects it with the same error message. Both GCC and clang are correct because the inner types are not complete until after the outer type is complete.