[clang] Add test for CWG1960
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Thu, 26 Jan 2023 11:07:30 +0000 (14:07 +0300)
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Thu, 26 Jan 2023 11:40:47 +0000 (14:40 +0300)
commit839eae38a4e4064568e1b3b0ee9538958ead8a40
tree64b82b3e547d4e8cbfe1207fd6c8facf994603bd
parent5ccd28873179be27954fd7da1368465e03a1abf9
[clang] Add test for CWG1960

P1787: "CWG1960 (currently closed as NAD) is resolved by removing the rule in question (which is widely ignored by implementations and gives subtle interactions between using-declarations)."
Wording: "In a using-declarator that does not name a constructor, every declaration named shall be accessible."

Reviewed By: #clang-language-wg, erichkeane, shafik

Differential Revision: https://reviews.llvm.org/D142381
clang/test/CXX/drs/dr19xx.cpp
clang/www/cxx_dr_status.html