| 1 |
// { dg-do compile { target c++23 } } |
| 2 |
|
| 3 |
// PR libstdc++/119714 - constraint recursion with std::expected::operator== |
| 4 |
|
| 5 |
#include <expected> |
| 6 |
#include <vector> |
| 7 |
|
| 8 |
using I = std::vector<std::expected<int,int>>::iterator; |
| 9 |
static_assert(std::totally_ordered<I>); |