https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100134
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-10-07 Keywords| |ice-on-valid-code Ever confirmed|0 |1 CC| |ppalka at gcc dot gnu.org --- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> --- Adding 'namespace std { }' alongside the exported entity seems to be a workaround, e.g. export module mod; import "std.hpp"; namespace std { } export std::X<int> v;