shafik added inline comments.
================
Comment at: clang/test/CXX/drs/dr23xx.cpp:202
+ // void g2(A a) { a.operator B decltype(B())::*(); }
+ // void h(A a) { a.operator identity<B>::type B::*(); }
+ // void h2(A a) { a.operator B identity<B>::type::*(); }
----------------
While gcc accepts the first three it does not like the last two:
https://godbolt.org/z/js8Pz14Eo
I believe they should also be covered but not confident.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142316/new/
https://reviews.llvm.org/D142316
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits