diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-06-26 00:07:52 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-06-26 00:07:52 +0000 |
commit | e80706c4a45eb63d7fd52f6bb0a2ccf28f2eba75 (patch) | |
tree | acea28b21525c5f54e938a92d72480006a29a635 /gcc/testsuite/g++.dg/abi | |
parent | 3fe18f1d4722d2cc202978537ec28ba3668e5cc8 (diff) | |
download | gcc-e80706c4a45eb63d7fd52f6bb0a2ccf28f2eba75.zip gcc-e80706c4a45eb63d7fd52f6bb0a2ccf28f2eba75.tar.gz gcc-e80706c4a45eb63d7fd52f6bb0a2ccf28f2eba75.tar.bz2 |
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function)
PR c++/10990
* search.c (lookup_base_r): Rely on accessible_p, rather than
trying to emulate that logic here.
PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.
From-SVN: r68507
Diffstat (limited to 'gcc/testsuite/g++.dg/abi')
-rw-r--r-- | gcc/testsuite/g++.dg/abi/mangle4.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/abi/mangle4.C b/gcc/testsuite/g++.dg/abi/mangle4.C index e098127..ec65654 100644 --- a/gcc/testsuite/g++.dg/abi/mangle4.C +++ b/gcc/testsuite/g++.dg/abi/mangle4.C @@ -2,7 +2,7 @@ // { dg-do compile } class A {}; -class B : A {}; +class B : public A {}; template<const A* a> class C {}; template<const B* b> class D {}; |