https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78286
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Now the struct is invalid anyways even without the main function but the C++ standard does not require a diagnostic :).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78286
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Now the struct is invalid anyways even without the main function but the C++ standard does not require a diagnostic :).