[Bug c++/55582] [C++11] Unable to define string user-defined literal without leading underscore.
emsr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 14 02:56:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55582
--- Comment #6 from emsr at gcc dot gnu.org 2013-02-14 02:55:48 UTC ---
Author: emsr
Date: Thu Feb 14 02:55:42 2013
New Revision: 196041
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196041
Log:
gcc/libcpp/
2013-02-13 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/55582
* libcpp/lex.c (lex_raw_string): Allow string literal with suffix
beginning with 's' to be parsed as a C++11 user-defined literal.
gcc/testsuite/
2013-02-13 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/55582
* g++.dg/cpp0x/udlit-string-literal.h: New.
* g++.dg/cpp0x/udlit-string-literal.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C
trunk/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.h
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/lex.c
More information about the Gcc-bugs
mailing list