Endill added inline comments.
================ Comment at: clang/test/CXX/drs/dr4xx.cpp:99 + void test3(A::S as) { using A::f; f(as); } // ok + void test4(A::S as) { using B::f; f(as); } // ok + void test5(A::S as) { int f; f(as); } // expected-error {{called object type 'int'}} ---------------- I'm surprised that local function declaration prevents ADL, but //using-declaration// doesn't. It has been working this way all along, so I guess I better take a note of this. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139095/new/ https://reviews.llvm.org/D139095 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits