diff options
author | Jason Merrill <jason@redhat.com> | 2011-06-20 10:39:44 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-06-20 10:39:44 -0400 |
commit | 4b7d9ed4a8e049e777252718c4cddb85fece7cde (patch) | |
tree | cde6f088985ae859fdb6f847866868f41f9a337e /gcc/cp/init.c | |
parent | c2954af9266e69bc422c3ca6c77fdecd92199070 (diff) | |
download | gcc-4b7d9ed4a8e049e777252718c4cddb85fece7cde.zip gcc-4b7d9ed4a8e049e777252718c4cddb85fece7cde.tar.gz gcc-4b7d9ed4a8e049e777252718c4cddb85fece7cde.tar.bz2 |
re PR c++/43831 ([C++0x] gcc-4.5.0 does not fail invalid lambda captures (against n3092 5.1.2/8))
PR c++/43831
* parser.c (cp_parser_lambda_introducer): Complain about redundant
captures.
* semantics.c (add_capture): Likewise.
(register_capture_members): Clear IDENTIFIER_MARKED.
From-SVN: r175211
Diffstat (limited to 'gcc/cp/init.c')
0 files changed, 0 insertions, 0 deletions