[Bug c++/34213] [4.2/4.3 Regression] static member function in anonymous namespace can't be used as template argument

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 27 07:12:00 GMT 2007



------- Comment #4 from jakub at gcc dot gnu dot org  2007-11-27 07:12 -------
Subject: Bug 34213

Author: jakub
Date: Tue Nov 27 07:12:10 2007
New Revision: 130463

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130463
Log:
        PR c++/34213
        * tree.c (decl_linkage): Static data members and static member
        functions in anonymous ns classes are lk_external.

        * g++.dg/ext/visibility/anon8.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/anon8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34213



More information about the Gcc-bugs mailing list