r269659 - in /trunk/gcc: cp/ChangeLog cp/parser...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Wed Mar 13 19:58:00 GMT 2019
Author: mpolacek
Date: Wed Mar 13 19:58:20 2019
New Revision: 269659
URL: https://gcc.gnu.org/viewcvs?rev=269659&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/lambda-pack-init2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list