https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Simon Martin <simar...@gcc.gnu.org>: https://gcc.gnu.org/g:7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 commit r16-639-g7ec6f7da7064a6ab9f443e3a03d4401d8bc5ae23 Author: Simon Martin <si...@nasilyan.com> Date: Wed May 14 20:29:57 2025 +0200 c++: Add testcase for issue fixed in GCC 15 [PR120126] Patrick noticed that this PR's testcase has been fixed by the patch for PR c++/114292 (r15-7238-gceabea405ffdc8), more specifically the part that walks the type of DECL_EXPR DECLs. This simply adds the case to the testsuite. PR c++/120126 gcc/testsuite/ChangeLog: * g++.dg/cpp0x/lambda/lambda-ice33.C: New test.