diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-09 04:26:02 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-09 04:26:02 +0000 |
commit | ca910e84ea026a898c7184d3f3608403005b9bc0 (patch) | |
tree | e9a56afd059a630dcdc8182aa8f8066ccb3de0b7 /test/SemaCXX/using-decl-1.cpp | |
parent | bcb02fc690a2f9a6991b440181f70a0875e5c965 (diff) |
In CXXRecordDecl::forallBases, add the base to the "queue", so we walk more than one heirarchy of classes. John, please review.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/using-decl-1.cpp')
-rw-r--r-- | test/SemaCXX/using-decl-1.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaCXX/using-decl-1.cpp b/test/SemaCXX/using-decl-1.cpp index 42deb27027..0235624a8e 100644 --- a/test/SemaCXX/using-decl-1.cpp +++ b/test/SemaCXX/using-decl-1.cpp @@ -38,3 +38,7 @@ struct X1 : X0 { (*this)(1); } }; + +struct A { void f(); }; +struct B : A { }; +class C : B { using B::f; }; |