https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65108
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Indeed, Foo::one is not a definition, but Bar::two is a definition. https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition