Re: [C++ Patch] PR 28262

2013-07-05 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 28262

2013-07-05 Thread Paolo Carlini
Hi, this old issue is about default arguments not rejected for function typedefs. We have got infrastructure for that - parser->default_arg_ok_p - and it seems to me that we can safely set the flag to false in cp_parser_init_declarator when the decl_specifier has ds_typedef set. Tested x86_64