From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1652) id B0B99386FC23; Mon, 24 May 2021 08:33:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0B99386FC23 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Christophe Lyon To: gcc-cvs@gcc.gnu.org Subject: [gcc r9-9553] c++: lambda pack init-capture within generic lambda X-Act-Checkin: gcc X-Git-Author: Christophe Lyon X-Git-Refname: refs/heads/releases/gcc-9 X-Git-Oldrev: dd03f72b1eeda935c597158e3b7a42e0bc7bbfa6 X-Git-Newrev: ba19b5543d31a76f494e76c32a548d70ac4d3cc1 Message-Id: <20210524083342.B0B99386FC23@sourceware.org> Date: Mon, 24 May 2021 08:33:42 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 08:33:42 -0000 https://gcc.gnu.org/g:ba19b5543d31a76f494e76c32a548d70ac4d3cc1 commit r9-9553-gba19b5543d31a76f494e76c32a548d70ac4d3cc1 Author: Christophe Lyon 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 PR c++/97938 gcc/testsuite/ * g++.dg/cpp2a/lambda-pack-init6.C: Use c++2a target selector. Diff: --- gcc/testsuite/g++.dg/cpp2a/lambda-pack-init6.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp2a/lambda-pack-init6.C b/gcc/testsuite/g++.dg/cpp2a/lambda-pack-init6.C index 3ee500ed999..137e4e9fab3 100644 --- a/gcc/testsuite/g++.dg/cpp2a/lambda-pack-init6.C +++ b/gcc/testsuite/g++.dg/cpp2a/lambda-pack-init6.C @@ -1,5 +1,5 @@ // PR c++/97938 -// { dg-do compile { target c++20 } } +// { dg-do compile { target c++2a } } template int sink(Args&&... args) { return 2; }