diff options
author | Marek Polacek <polacek@redhat.com> | 2019-03-13 19:58:20 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-03-13 19:58:20 +0000 |
commit | 2b0a62741e675068c13e81690758855846c88726 (patch) | |
tree | 1e1bc193ff07c7fcfc6f2e62cf849a1f8756f39c /gcc/fold-const.c | |
parent | 84083a711ee6b84f42a6d33c45784d660cf4f514 (diff) | |
download | gcc-2b0a62741e675068c13e81690758855846c88726.zip gcc-2b0a62741e675068c13e81690758855846c88726.tar.gz gcc-2b0a62741e675068c13e81690758855846c88726.tar.bz2 |
PR c++/89686 - mixing init-capture and simple-capture in lambda.
* parser.c (cp_parser_lambda_introducer): Give error when combining
init-capture and simple-capture.
* g++.dg/cpp2a/lambda-pack-init2.C: New test.
From-SVN: r269659
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions