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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <[email protected]>:

https://gcc.gnu.org/g:ef4cd115ef67736b2af06fb7b47410961b73e7d6

commit r16-5726-gef4cd115ef67736b2af06fb7b47410961b73e7d6
Author: Eczbek <[email protected]>
Date:   Tue Nov 25 00:26:50 2025 -0500

    c++: Allow lambda expressions in template type parameters [PR116952]

            PR c++/116952

    gcc/cp/ChangeLog:

            * parser.cc (cp_parser_lambda_expression): Revert
            r11-8166-ge1666ebd9ad31d change prohibiting lambda in non-type
            parameter.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/lambda-uneval14.C: Revise incorrect test.
            * g++.dg/cpp2a/lambda-uneval29.C: New test.

    Co-authored-by: Jason Merrill <[email protected]>

Reply via email to