diff --git a/clang/test/CXX/drs/dr12xx.cpp b/clang/test/CXX/drs/dr12xx.cpp --- a/clang/test/CXX/drs/dr12xx.cpp +++ b/clang/test/CXX/drs/dr12xx.cpp @@ -68,6 +68,8 @@ #endif } +// dr1291: na + namespace dr1295 { // dr1295: 4 struct X { unsigned bitfield : 4; diff --git a/clang/test/CXX/drs/dr23xx.cpp b/clang/test/CXX/drs/dr23xx.cpp --- a/clang/test/CXX/drs/dr23xx.cpp +++ b/clang/test/CXX/drs/dr23xx.cpp @@ -181,3 +181,19 @@ B b; } + +namespace dr2396 { // dr2396: no + struct A { + struct B; + operator B B::*(); + }; + struct B; + + // FIXME: per P1787 "Calling a conversion function" example, all of the + // examples below are well-formed, with B resolving to A::B, but currently + // it's been resolved to dr2396::B. + + // void f(A a) { a.operator B B::*(); } + // void g(A a) { a.operator decltype(B()) B::*(); } + // void g2(A a) { a.operator B decltype(B())::*(); } +} 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 @@ -7553,7 +7553,7 @@