https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 98885, which changed state.
Bug 98885 Summary: [modules] forward declaration of classes prevent them from being exported at the point of actual declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED