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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#include <algorithm>

int main()
{
    struct s { int m; };
    s r[] = { s{0}, s{1}, s{2}, s{3} };
    std::ranges::find_if(r, [](auto const) { return true; });
}

Reply via email to