[C++ PATCH] ICE with invalid user-defined literals (PR c++/51420)

Jason Merrill jason@redhat.com
Tue Dec 6 19:53:00 GMT 2011


On 12/06/2011 08:21 AM, Ed Smith-Rowland wrote:
> * parser.c (lookup_literal_operator): Check that current overload
> is function_type.

Instead of checking here, let's check is_overloaded_fn (decl) right 
after the lookup name.

Jason



More information about the Gcc-patches mailing list