The standard specified that Clang should 'search' for members in this
case, which does not involve full lookup and the corresponding checks.
See [over.match.oper]p4 and [basic.lookup.general]p3.
The added test has an example code that breaks.
The change that exposed this behavior is cc1b6668c57170cd440d321037ced89d6a61a9cb.
I believe we should be able to expose the same errorenous behavior here, but I did not come up with a test yet, so did not change it yet.
We should update it and come up with a test before the change lands.
But I still wanted to get early feedback on the direction of this patch, so sending for review right away.