[Bug c++/122994] [Modules] lambda expression in global variable initializer is considered to expose TU-local types

mawww at kakoune dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 4 08:04:45 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122994

--- Comment #1 from Maxime Coste <mawww at kakoune dot org> ---
I think https://eel.is/c++draft/basic.link#14.2 is the relevant standard clause
that specifies that initializers should be ignored.


More information about the Gcc-bugs mailing list