http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57640
--- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 30317 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30317&action=edit Add declarator_p to checks to trigger warning. Testing this fully but I think this tiny patch will do. gcc/cp: 2013-06-18 Ed Smith-Rowland <3dw...@verizon.net> PR c++/57640 * parser.c (cp_parser_unqualified_id): Add declarator_p to checks to trigger warning, (cp_literal_operator_id): Remove bogus TODO comment. gcc/testsuite: 2013-06-18 Ed Smith-Rowland <3dw...@verizon.net> PR c++/57640 * g++.dg/cpp1y/pr57640.C: New.