re PR c++/65923 (False positive for warning about literal operator suffix and using)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 4 Apr 2018 16:05:11 +0000 (19:05 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Wed, 4 Apr 2018 16:05:11 +0000 (19:05 +0300)
commit1229c56cb93056caccf7af284cc15fe5e4f435f3
tree03988e369911dc89da55b85ccb1708683aed4a4b
parent8c760464d0148aba6bc8a2f2ab7ecf6a8fd43127
re PR c++/65923 (False positive for warning about literal operator suffix and using)

PR c++/65923

gcc/cp

PR c++/65923
* decl.c (grokfndecl): Handle standard UDL diagnostics here..
* parser.c (cp_parser_unqualified_id): ..not here.

testsuite/

PR c++/65923
* g++.dg/diagnostic/pr65923.C: New.

From-SVN: r259087
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/diagnostic/pr65923.C [new file with mode: 0644]