| commit | f9812782b7cc56962efedba0e55931df43704a22 | [log] [tgz] |
|---|---|---|
| author | Anders Carlsson <andersca@mac.com> | Wed Dec 09 04:26:02 2009 +0000 |
| committer | Anders Carlsson <andersca@mac.com> | Wed Dec 09 04:26:02 2009 +0000 |
| tree | 506a0be40b796055cd11241f2db85dab86ed2613 | |
| parent | 39644a62f97f5eb4bd21d3f6246a8fdb8cd9d966 [diff] [blame] |
In CXXRecordDecl::forallBases, add the base to the "queue", so we walk more than one heirarchy of classes. John, please review. llvm-svn: 90948
diff --git a/clang/test/SemaCXX/using-decl-1.cpp b/clang/test/SemaCXX/using-decl-1.cpp index 42deb27..0235624 100644 --- a/clang/test/SemaCXX/using-decl-1.cpp +++ b/clang/test/SemaCXX/using-decl-1.cpp
@@ -38,3 +38,7 @@ (*this)(1); } }; + +struct A { void f(); }; +struct B : A { }; +class C : B { using B::f; };