https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60209
--- Comment #5 from emsr at gcc dot gnu.org --- Author: emsr Date: Sun Jul 13 13:36:57 2014 New Revision: 212494 URL: https://gcc.gnu.org/viewcvs?rev=212494&root=gcc&view=rev Log: cp/ 2014-07-13 Edward Smith-Rowland <3dw...@verizon.net> PR C++/60209 - Declaration of user-defined literal operator cause error * cp/parser.c (cp_parser_operator()): Fold treatment of strings and user-defined string literals. Use the full string parser. (cp_parser_string_literal()): Add flag to not look for literal operator. testsuite/ 2014-07-13 Edward Smith-Rowland <3dw...@verizon.net> PR C++/60209 - Declaration of user-defined literal operator cause error * g++.dg/cpp0x/pr60209-neg.C: New. * g++.dg/cpp0x/pr60209.C: New. * g++.dg/cpp1y/udlit-empty-string-neg.C: Adjust messages. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr60209-neg.C trunk/gcc/testsuite/g++.dg/cpp0x/pr60209.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp1y/udlit-empty-string-neg.C