re PR c++/19608 (ICE after friend function definition in local class)
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 14 Feb 2005 17:50:58 +0000 (17:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 14 Feb 2005 17:50:58 +0000 (17:50 +0000)
commitf769035f7cca45e5236f797864183e18f8c27b58
treec4a556e8532e7b3fed4462d2fca4e630ff7f9a8c
parent6a720599bb2e3ea01142d51ad61d8c589fa8c1fe
re PR c++/19608 (ICE after friend function definition in local class)

cp:
PR c++/19608
* parser.c (cp_parser_late_parsing_for_member): Use
current_function_decl as scope to push to and from.
testsuite:
PR c++/19608
* g++.dg/parse/local-class1.C: New.

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