https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675
Bug ID: 93675 Summary: Starship operator on a hidden friend operator does not work Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mateusz.pusz at gmail dot com Target Milestone: --- The following code does not compile: ``` struct B { int b; friend constexpr auto operator<=>(const B&, const B&) = default; }; void foo() { B b1, b2; b1 == b2; } ``` https://godbolt.org/z/JBUqG8