public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Christophe Lyon <clyon@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r9-9553] c++: lambda pack init-capture within generic lambda Date: Mon, 24 May 2021 08:33:42 +0000 (GMT) [thread overview] Message-ID: <20210524083342.B0B99386FC23@sourceware.org> (raw) https://gcc.gnu.org/g:ba19b5543d31a76f494e76c32a548d70ac4d3cc1 commit r9-9553-gba19b5543d31a76f494e76c32a548d70ac4d3cc1 Author: Christophe Lyon <christophe.lyon@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.lyon@linaro.org> 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 <typename... Args> int sink(Args&&... args) { return 2; }
reply other threads:[~2021-05-24 8:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210524083342.B0B99386FC23@sourceware.org \ --to=clyon@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).