https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-07-01
             Status|UNCONFIRMED                 |NEW

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to cqwrteur from comment #5)
> 
> Is this a C++ standard defect? There is no inline definition for classes and
> templates that allow multiple definitions to be discarded in different
> modules, just like "inline" does in the other translation units.

In the testcase all definitions are attached to the global module because they
precede any "export module" line, so the usual merging applies.

Reply via email to