* decl2.c (get_guard): Copy visibility from the guarded variable.
commite4ef06d071a62aedafa371163cf3b52d6b2b9010
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2007 03:56:41 +0000 (7 03:56 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2007 03:56:41 +0000 (7 03:56 +0000)
tree16788879d648f3ed19c94b7f165ce05233075837
parenta2c4a7f3c3dad911c72559c8d611222f6f32018b
    * decl2.c (get_guard): Copy visibility from the guarded variable.

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