[Bug c++/78286] typename, type members and non-type members: code should be rejected, but it is not

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 09:26:00 GMT 2016


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 :).


More information about the Gcc-bugs mailing list