cp/
commit90575ae9433c076bc6f4d539410698c7bcfba09d
authoremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Jul 2014 13:36:57 +0000 (13 13:36 +0000)
committeremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Jul 2014 13:36:57 +0000 (13 13:36 +0000)
treecd2e3b27e59a076806ec50f18f9806df1388208c
parentca6ce0dbf510a17663c64e9d45e8209de783a3ec
cp/

2014-07-13  Edward Smith-Rowland  <3dw4rd@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  <3dw4rd@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212494 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr60209-neg.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr60209.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/udlit-empty-string-neg.C