diff --git a/clang/test/CXX/drs/dr19xx.cpp b/clang/test/CXX/drs/dr19xx.cpp --- a/clang/test/CXX/drs/dr19xx.cpp +++ b/clang/test/CXX/drs/dr19xx.cpp @@ -167,6 +167,27 @@ #endif } +namespace dr1960 { // dr1960: no +struct A { +void f() {} +protected: +void g() {} +}; + +struct B: A { +private: +using A::f; +using A::g; +}; + +struct C : B { +// FIXME: both declarations are ill-formed, because A::f and A::g +// are not accessible. +using A::f; +using A::g; +}; +} + namespace dr1966 { // dr1966: 11 #if __cplusplus >= 201103L struct A { diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -11567,7 +11567,7 @@ 1960 NAD Visibility of entity named in class-scope using-declaration - Unknown + No 1961