================ @@ -67,6 +63,27 @@ void B<int>::g() requires true; } // namespace cwg2847 +namespace cwg2857 { // cwg2857: 2.7 +struct A {}; +struct B { + int operator+(A); +}; +template <typename> +struct D; + +void f(A* a, D<int>* d) { + *d + *a; ---------------- Endilll wrote:
Thank you! I used one of your tests instead, and stopped claiming that CWG2857 is available. https://github.com/llvm/llvm-project/pull/92113 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits