Re: [C++14 PATCH] Do not diagnose lambda default arguments in c++14 modes.

2014-09-15 Thread Jason Merrill
On 09/14/2014 10:55 AM, Ville Voutilainen wrote: * g++.dg/cpp0x/lambda/lambda-defarg.C: Enable in c++11_only. * g++.dg/cpp1y/lambda-defarg.C: New. Instead of adding a second test, make only the dg-error c++11_only. Jason

Re: [C++14 PATCH] Do not diagnose lambda default arguments in c++14 modes.

2014-09-15 Thread Ville Voutilainen
On 15 September 2014 18:51, Jason Merrill wrote: > On 09/14/2014 10:55 AM, Ville Voutilainen wrote: >> >> * g++.dg/cpp0x/lambda/lambda-defarg.C: Enable in c++11_only. >> * g++.dg/cpp1y/lambda-defarg.C: New. > > > Instead of adding a second test, make only the dg-error c++11_only. Ok.