blob: 95f03e6e231f110d70369e3d3e46405b20bfa600 (
plain)
1
2
3
4
5
6
7
|
// PR c++/96497
// { dg-do compile { target c++20 } }
#include <compare>
static_assert(std::partial_ordering(std::strong_ordering::less) < 0);
static_assert(std::partial_ordering(1 <=> 2) < 0);
|