OSDN Git Service

* decl2.c (finish_static_data_member_decl): Complain about a local
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2002 15:50:01 +0000 (15:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2002 15:50:01 +0000 (15:50 +0000)
commitf1c6ad288bc0456aa624e2b85536f02d640e50f2
tree8b39924f004b741d2dea0d7a5e5b7421fc1f6771
parent00d49f5cc5bb9f9d9d2bc3741378be89b5db33d7
    * decl2.c (finish_static_data_member_decl): Complain about a local
        class with a static data member.

        PR c++/4286
        * search.c (lookup_field_1): Don't xref a static data member
        just because we looked it up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49395 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/search.c
gcc/testsuite/g++.dg/template/local1.C [new file with mode: 0644]