2018-02-27 22:02 GMT+01:00 Jason Merrill :
> On 02/27/2018 03:29 PM, Jason Merrill wrote:
>>
>> On 02/27/2018 01:51 PM, Håkon Sandsmark wrote:
>>>
>>> Thanks for the feedback. I chose to take the example from the bug
>>> report verbatim as the test case.
Hi,
Thanks for the feedback. I chose to take the example from the bug
report verbatim as the test case.
However, I agree it makes sense to have the simplest possible test
case that reproduces the issue. Here is an updated patch.
2018-02-27 Håkon Sandsmark
PR c++/71546 - lambda capture
ess errors)
# No differences found in 6 common sum files
2018-02-27 Håkon Sandsmark
* parser.c (cp_parser_lambda_introducer): Clear scope after
each lambda capture.
* g++.dg/cpp1y/pr71546.C: New test.
diff --git gcc/cp/parser.c gcc/cp/parser.c
index bcee1214c2f..fc1