This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50736] [C++0x] ISO_IEC_14882-2011-5.1.2/10 - bug
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2011 18:59:45 +0000
- Subject: [Bug c++/50736] [C++0x] ISO_IEC_14882-2011-5.1.2/10 - bug
- Auto-submitted: auto-generated
- References: <bug-50736-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50736
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-17 18:59:45 UTC ---
Author: jason
Date: Mon Oct 17 18:59:41 2011
New Revision: 180105
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180105
Log:
PR c++/50736
* parser.c (cp_parser_lambda_introducer): Check for more
invalid captures.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-capture-neg.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog