https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124154
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection |
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I certainly didn't get any ICE, g++ before
r16-970-g2047aa4ce2ed9976fb36e984b43864fcd6f3a65d
just rejected it with
pr124154.C: In lambda function:
pr124154.C:6:42: error: invalid use of non-static data member ‘S::x’
[-Wtemplate-body]
6 | auto l = [&] (this auto) { (void)x; };
| ^
pr124154.C:3:9: note: declared here
3 | int x;
| ^
So dup of PR113563 ?