https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98327
Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> --- three things. a) I think this is now fixed b) it's not invalid code c) Martin, I think you're falling foul of some of the requirements of where you place code that is in the GMF (the bit between 'module;' and '[export] module foo;' But I think the diagnostic you're getting is not helping there.