1 #include "std-compare.h" 2 3 struct A { 4 int a; 5 constexpr auto operator<=>(const A&) const = default; 6 }; 7 foo(A x,A y)8 bool foo(A x, A y) { return x < y; } 9