diff options
author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2003-08-23 13:02:17 +0000 |
---|---|---|
committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2003-08-23 13:02:17 +0000 |
commit | a653d067f7084ce815c5e1a593eef7e5639564d2 (patch) | |
tree | d0952b4220f2626a3bb10135e5bd3d812fa871c2 /gcc/c-decl.c | |
parent | 19db77cefec38a1a0a3eb69007f01e8a1c108d5d (diff) | |
download | gcc-a653d067f7084ce815c5e1a593eef7e5639564d2.zip gcc-a653d067f7084ce815c5e1a593eef7e5639564d2.tar.gz gcc-a653d067f7084ce815c5e1a593eef7e5639564d2.tar.bz2 |
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
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions