PR c++/50736
commitb9f4d0f4bcb51fead6d62dafef5cfab023af7414
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 18:59:41 +0000 (17 18:59 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2011 18:59:41 +0000 (17 18:59 +0000)
tree6806ee40173e52c1f7ce29e3124aab289019c678
parent48264eb84b2af60dfc7e6c33e5a62a5bcb25dbfa
PR c++/50736
* parser.c (cp_parser_lambda_introducer): Check for more
invalid captures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180105 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-capture-neg.C [new file with mode: 0644]