diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2018-08-07 16:46:16 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2018-08-07 16:46:16 +0300 |
commit | 63b48839b8e19a33bb2b0f86e1a443c53b395bc0 (patch) | |
tree | 9e8a087ee849a02f9143bf2caa45d45d81af9bb9 /libcpp | |
parent | 806562fd6269a3d7e0651d5bbf9085c7708fb5cd (diff) | |
download | gcc-63b48839b8e19a33bb2b0f86e1a443c53b395bc0.zip gcc-63b48839b8e19a33bb2b0f86e1a443c53b395bc0.tar.gz gcc-63b48839b8e19a33bb2b0f86e1a443c53b395bc0.tar.bz2 |
re PR c++/79133 (lambda capture shadowing parameter & decltype confusion)
PR c++/79133
gcc/cp/
PR c++/79133
* name-lookup.c (check_local_shadow): Reject captures and parameters
with the same name.
testsuite/
PR c++/79133
* g++.dg/cpp0x/lambda/lambda-shadow3.C: New.
* g++.dg/cpp1y/lambda-generic-variadic18.C: Likewise.
From-SVN: r263357
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions