[Bug c++/115852] ICE in satisfy_declaration_constraints when using a explicit object lambda inside requires clause

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 17 17:39:14 GMT 2026


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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:

https://gcc.gnu.org/g:000d2da1c0b77e57314db40922960caa0ac36b01

commit r16-8137-g000d2da1c0b77e57314db40922960caa0ac36b01
Author: Marek Polacek <polacek@redhat.com>
Date:   Tue Mar 17 13:38:10 2026 -0400

    c++: add fixed test [PR115852]

    Fixed by r16-2490.

            PR c++/115852

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp23/explicit-obj-lambda22.C: New test.


More information about the Gcc-bugs mailing list