https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67013
--- Comment #2 from Anders Granlund <anders.granlund.0 at gmail dot com> --- That comment seems to be incorrect. The c++ standard has never forbidden empty declarations at global namespace. I think we should get a warning instead of an error.