PR c++/34912
commit0bd414df9c57a5ae04871149d75557548728add5
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2008 19:50:37 +0000 (22 19:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2008 19:50:37 +0000 (22 19:50 +0000)
treed611d9e565111bcaa97ac42d5cbee302da3e523c
parent624547f6e709bc2480f2bcd7a9eeb62b3161fe64
    PR c++/34912
        * friend.c (do_friend): Check for prior declaration of a friend
        function of a local class.
        * name-lookup.c (lookup_name_innermost_nonclass_level):
        No longer static.
        * name-lookup.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131740 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/friend.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/testsuite/g++.dg/lookup/friend12.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/local-class1.C
gcc/testsuite/g++.old-deja/g++.jason/scoping12.C