This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ PATCH] ICE with invalid user-defined literals (PR c++/51420)
- From: Ed Smith-Rowland <3dw4rd at verizon dot net>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Tue, 06 Dec 2011 08:19:09 -0500
- Subject: [C++ PATCH] ICE with invalid user-defined literals (PR c++/51420)
gcc/testsuite:
2011-12-06 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/51420
* g++.dg/cpp0x/pr51420.C: New.
gcc/cp:
2011-12-06 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/51420
* parser.c (lookup_literal_operator): Check that current overload
is function_type.