parser.c (cp_parser_unqualified_id): Handle __func__ here.
authorJason Merrill <jason@redhat.com>
Fri, 7 Nov 2014 23:01:09 +0000 (18:01 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 7 Nov 2014 23:01:09 +0000 (18:01 -0500)
commit04af98c61b22d4bc647740299ff643d573ee28b6
treee6a1800bda06a27a0e17d60c9af6fd73793981a2
parent15babd13d671cb47e92aea313c55ecd240880a7d
parser.c (cp_parser_unqualified_id): Handle __func__ here.

* parser.c (cp_parser_unqualified_id): Handle __func__ here.
(cp_parser_primary_expression): Not here.

From-SVN: r217241
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/decltype-func.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/error34.C