https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101485

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
#include <algorithm>

enum E { e };
bool operator==(E, E) { return false; }

int main()
{
  E e[1];
  return std::equal(e, e+1, e);
}

Reply via email to