https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106348
Bug ID: 106348 Summary: c++modules: invalid syntax accepted Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla.gcc at me dot benboeckel.net Target Milestone: --- Source code: ```cpp export module foo; export import foo:part; // this line export constexpr int m = 0; ``` Apparently line 2 should be `export import :part;` and the syntax as shown is ill-formed. GCC doesn't reject it.