[clang] Add test for CWG418
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Thu, 8 Dec 2022 18:03:42 +0000 (21:03 +0300)
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Thu, 8 Dec 2022 18:57:07 +0000 (21:57 +0300)
commit90d4cbb87ce297d93159d39528767f5f46aa4da4
treeabdf503020f3ccb8dcdbf438552dbc7cafb7b218
parentc6e6231e2f467528e727bf9287c42975e778b8ed
[clang] Add test for CWG418

P1787: //[[ https://cplusplus.github.io/CWG/issues/418.html | CWG418 ]] is resolved by trivial rephrasing along with that necessary for the new using-declaration interpretation.//
Wording: see changes to [dcl.fct.default]/9 and [over.match.best]/4.

[over.match.best]/4 includes [[ https://eel.is/c++draft/over.match.best#general-example-8 | an example ]] that is not properly diagnosed by Clang.

Reviewed By: #clang-language-wg, shafik

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