https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98327
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-12-17 CC| |marxin at gcc dot gnu.org Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Can't reproduce with the current master: $ g++ pr98327.cc -c -fmodules-ts -std=c++20 pr98327.cc:3:8: error: module-declaration not permitted here 3 | export module hello; | ^~~~~~ pr98327.cc:4:1: error: ‘export’ may only occur after a module interface declaration 4 | export inline void greeter (std::string_view name) noexcept | ^~~~~~