auto l = [] {}; struct s {friend void decltype(l)::operator()() const;}; The above spuriously succeeds.
Confirmed.