]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/search.c
re PR c++/3765 (member using declaration can't change access from public)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sat, 23 Aug 2003 13:02:17 +0000 (13:02 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sat, 23 Aug 2003 13:02:17 +0000 (13:02 +0000)
commita653d067f7084ce815c5e1a593eef7e5639564d2
treed0952b4220f2626a3bb10135e5bd3d812fa871c2
parent19db77cefec38a1a0a3eb69007f01e8a1c108d5d
re PR c++/3765 (member using declaration can't change access from public)

PR c++/3765
* search.c (dfs_access_in_type): Fix typo in comment.
(dfs_accessible_queue_p): Likewise.
(dfs_accessible_p): Only terminate when a friend is found.
(accessible_p): Return immediately if access_in_type allows
access.

* g++.dg/parse/access6.C: New test.

From-SVN: r70733
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/access6.C [new file with mode: 0644]
This page took 0.061903 seconds and 5 git commands to generate.