Applied, thanks.
Jason
On 12/06/2011 02:27 PM, Jason Merrill wrote:
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
OK,
This passe
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
This time with patch.
gcc/testsuite:
2011-12-06 Ed Smith-Rowland <3dw...@verizon.net>
PR c++/51420
* g++.dg/cpp0x/pr51420.C: New.
gcc/cp:
2011-12-06 Ed Smith-Rowland <3dw...@verizon.net>
PR c++/51420
* parser.c (lookup_literal_operator): Check that current overload
is
gcc/testsuite:
2011-12-06 Ed Smith-Rowland <3dw...@verizon.net>
PR c++/51420
* g++.dg/cpp0x/pr51420.C: New.
gcc/cp:
2011-12-06 Ed Smith-Rowland <3dw...@verizon.net>
PR c++/51420
* parser.c (lookup_literal_operator): Check that current overload
is function_type.