re PR c++/61133 (g++ doesn't implement DR1760)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 21 May 2014 17:23:07 +0000 (20:23 +0300)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 May 2014 17:23:07 +0000 (13:23 -0400)
commit174ebf656274b6119c13a730294241fd5c0efb55
treeb28d4b0e943b01ef3b9e2d54ae03b3227bb78251
parent2acb1027924f91e900964b529719efcdc1aacfac
re PR c++/61133 (g++ doesn't implement DR1760)

PR c++/61133
* lambda.c (build_capture_proxy, add_capture): Treat normal
captures and init-captures identically.

From-SVN: r210720
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp1y/lambda-init6.C
gcc/testsuite/g++.dg/cpp1y/lambda-init8.C [new file with mode: 0644]