https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377
Boris Kolpackov <boris at kolpackov dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Boris Kolpackov <boris at kolpackov dot net> --- I still get the same error if I move the inline function into an interface partition (main.cxx is unchanged): cat <<EOF >hello.mxx export module hello; export import :check; EOF cat <<EOF >check.mxx export module hello:check; import <string_view>; export namespace hello { inline bool check_hello (const std::string_view& name) { return !name.empty (); } } EOF