https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97938
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Christophe Lyon <cl...@gcc.gnu.org>: https://gcc.gnu.org/g:ba19b5543d31a76f494e76c32a548d70ac4d3cc1 commit r9-9553-gba19b5543d31a76f494e76c32a548d70ac4d3cc1 Author: Christophe Lyon <christophe.l...@linaro.org> Date: Mon May 24 07:35:44 2021 +0000 c++: lambda pack init-capture within generic lambda In gcc-9-branch, the testsuite does not support the c++20 target selector: use c++2a instead, to avoid Dejagnu errors when running the testsuite. 2021-05-24 Christophe Lyon <christophe.l...@linaro.org> PR c++/97938 gcc/testsuite/ * g++.dg/cpp2a/lambda-pack-init6.C: Use c++2a target selector.