Home
last modified time | relevance | path

Searched refs:PartialSpaceship (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/expos.only.func/
H A Dsynth_three_way.pass.cpp88 struct PartialSpaceship { in test() struct
90 constexpr bool operator==(const PartialSpaceship&) const = default; in test()
91 constexpr std::partial_ordering operator<=>(const PartialSpaceship& other) const { in test() argument
96 …assert(synth_three_way(PartialSpaceship{1.0}, PartialSpaceship{1.0}) == std::partial_ordering::equ… in test()
97 …assert(synth_three_way(PartialSpaceship{2.0}, PartialSpaceship{1.0}) == std::partial_ordering::gre… in test()
98 …assert(synth_three_way(PartialSpaceship{1.0}, PartialSpaceship{2.0}) == std::partial_ordering::les… in test()
99 …assert(synth_three_way(PartialSpaceship{nan}, PartialSpaceship{nan}) == std::partial_ordering::uno… in test()
100 …SSERT_SAME_TYPE(std::partial_ordering, synth_three_way_result<PartialSpaceship, PartialSpaceship>); in test()