https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116952
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:66fe4ac0fa6efaa7213d6c6afd9e7ea77688e072 commit r15-10658-g66fe4ac0fa6efaa7213d6c6afd9e7ea77688e072 Author: Eczbek <[email protected]> Date: Fri Jan 9 15:02:53 2026 +0800 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]> (cherry picked from commit ef4cd115ef67736b2af06fb7b47410961b73e7d6)
