https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97219
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- Related testcase: void f() { extern void g(); [] (auto) { g(); }(0); } We started rejecting this one with r8-7277.
ppalka at gcc dot gnu.org via Gcc-bugs Mon, 29 Nov 2021 13:13:59 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97219
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- Related testcase: void f() { extern void g(); [] (auto) { g(); }(0); } We started rejecting this one with r8-7277.