https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123638

--- Comment #1 from Thiago Macieira <thiago at kde dot org> ---
With this:
std::strong_ordering operator<=>(const LogLevelVerbosity &a, const
LogLevelVerbosity &b) noexcept = default;

It does not ICE, and prints:
error: defaulted 'std::strong_ordering operator<=>(const LogLevelVerbosity&,
const LogLevelVerbosity&)' is not a friend of 'LogLevelVerbosity'

Reply via email to