Re: [C++ PATCH] PR c++/65923

2018-04-04 Thread Jason Merrill
On Wed, Apr 4, 2018 at 10:35 AM, Ville Voutilainen wrote: > On 3 April 2018 at 17:19, Ville Voutilainen > wrote: >> * parser.c (cp_parser_unqualified_id): Add a new parameter >> and check it for the literal diagnostic. > > > As discussed on irc, we can indeed do better. With this approac

Re: [C++ PATCH] PR c++/65923

2018-04-04 Thread Ville Voutilainen
On 3 April 2018 at 17:19, Ville Voutilainen wrote: > * parser.c (cp_parser_unqualified_id): Add a new parameter > and check it for the literal diagnostic. As discussed on irc, we can indeed do better. With this approach, we look at function declarations only, so using-declarations are au