blob: a8dc6e891e1da35c92a3f6e1dc266e91b7518beb [file] [log] [blame]
// { dg-do compile { target c++23 } }
// PR libstdc++/119714 - constraint recursion with std::expected::operator==
#include <expected>
#include <vector>
using I = std::vector<std::expected<int,int>>::iterator;
static_assert(std::totally_ordered<I>);