Searched refs:WeakSpaceship (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/library/description/conventions/expos.only.func/ |
| H A D | synth_three_way.pass.cpp | 75 struct WeakSpaceship { in test() struct 77 constexpr bool operator==(const WeakSpaceship&) const = default; in test() 78 constexpr std::weak_ordering operator<=>(const WeakSpaceship& other) const { in test() argument 82 assert(synth_three_way(WeakSpaceship{1}, WeakSpaceship{1}) == std::weak_ordering::equivalent); in test() 83 assert(synth_three_way(WeakSpaceship{2}, WeakSpaceship{1}) == std::weak_ordering::greater); in test() 84 assert(synth_three_way(WeakSpaceship{1}, WeakSpaceship{2}) == std::weak_ordering::less); in test() 85 ASSERT_SAME_TYPE(std::weak_ordering, synth_three_way_result<WeakSpaceship, WeakSpaceship>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
| H A D | three_way.pass.cpp | 138 struct WeakSpaceship { in test() struct 139 constexpr bool operator==(const WeakSpaceship&) const { return true; } in test() argument 140 …constexpr std::weak_ordering operator<=>(const WeakSpaceship&) const { return std::weak_ordering::… in test() argument 143 typedef std::tuple<int, unsigned int, WeakSpaceship> T1; in test() 144 typedef std::tuple<int, unsigned long, WeakSpaceship> T2; in test() 149 typedef std::tuple<unsigned int, int, WeakSpaceship> T1; in test() 150 typedef std::tuple<double, long, WeakSpaceship> T2; in test()
|