On 1/2/24 17:40, Nathaniel Shead wrote:
Static data members marked 'inline' should be emitted in TUs where they are ODR-used. We need to make sure that statics imported from modules are correctly added to the 'pending_statics' map so that they get emitted if needed, otherwise the attached testcase fails to link.
Hmm, this seems wrong to me; I'd think that static data members marked inline should be emitted in the module, and not in importers.
Jason