// RUN: %clang_cc1 -fsyntax-only -verify %s namespace DeduceVsMember { template struct X { template int &operator==(const U& other) const; }; template float &operator==(const T&, const X&); void test(X xi, X xf) { float& ir = (xi == xf); } }