https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125832
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:1fa4437e3c784e5084f443e5e13e79ba0cdc3c68 commit r17-1861-g1fa4437e3c784e5084f443e5e13e79ba0cdc3c68 Author: Jakub Jelinek <[email protected]> Date: Thu Jun 25 19:11:32 2026 +0200 c++: Add tests for C++29 P3847R1 - Lexical order for lambdas [PR125832] I believe we already implement the P3847R1 - Lexical order for lambdas paper, after all it is part of the ABI. So, this patch just adds tests to verify that, so that we can mark this as implemented (I'd say just Yes, even GCC 4.6 passes the second test with -std=c++0x and GCC 4.8 with -std=c++1y the first test). 2026-06-25 Jakub Jelinek <[email protected]> PR c++/125832 * g++.dg/cpp29/lambda-order1.C: New test. * g++.dg/cpp29/lambda-order2.C: New test. Reviewed-by: Jason Merrill <[email protected]>
