https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120381
--- Comment #2 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Nesting one definition of struct A inside another is never valid (and the godbolt link shows the expected "nested redefinition" error that the PR doesn't quote).