re PR c++/64222 (error: ‘__FUNCTION__’ was not declared in this scope)
authorJason Merrill <jason@redhat.com>
Wed, 10 Dec 2014 02:50:54 +0000 (21:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Dec 2014 02:50:54 +0000 (21:50 -0500)
commit9c78f8e6055b086b2e4317e3fe11071f27ef0cb2
treeace5a3416105badcda38170e537dea89c6fadc2b
parent6789ccfa469492579bfb23dedd20218153cdcd04
re PR c++/64222 (error: ‘__FUNCTION__’ was not declared in this scope)

PR c++/64222
* parser.c (cp_parser_unqualified_id): Don't declare fname while
parsing function parms.

From-SVN: r218556
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/fnname1.C [new file with mode: 0644]