https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100617
--- Comment #3 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> --- (In reply to wang ivor from comment #1) > A workaround is to create a module that exports only the namespace A and > 'export import' it in the module 'test1'. I did that, but it's not enough. See Bug 102524. I export a `detail` namespace like this to workaround the issue in its parent namespace: ```C++ export module waarudo.details.workaround_gcc_bug_100617; export namespace waarudo::detail { void workaround_gcc_bug_100617() { } } // namespace waarudo::detail ```