// PR c++/92496 // { dg-do compile { target c++20 } } template struct A {}; struct B { constexpr auto operator<=>(const B&) const = default; // { dg-error "strong_ordering" } int value; }; A t;