https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #14 from cqwrteur <unlvsur at live dot com> --- (In reply to Jason Merrill from comment #13) > > The question is still how this library could work. The same simply > > absolutely conflicts. Unless the standard allows inline to be discarded > > across modules I don't see how this could work. > > It works because everything in a header unit is attached to the global > module. If the same global module declarations are imported from multiple > module units, any duplicates are discarded. But it is not declaration, but definition. The actual implementation duplicates twice.