https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 122994, which changed state.
Bug 122994 Summary: [Modules] lambda expression in global variable initializer is considered to expose TU-local types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122994 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED
