1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 // UNSUPPORTED: c++03, c++11, c++14, c++17
9
10 // <set>
11
12 // class set
13
14 // template<class Key, class Compare, class Allocator>
15 // synth-three-way-result<Key> operator<=>(const set<Key, Compare, Allocator>& x,
16 // const set<Key, Compare, Allocator>& y);
17
18 #include <cassert>
19 #include <set>
20
21 #include "test_container_comparisons.h"
22
main(int,char **)23 int main(int, char**) {
24 assert((test_ordered_set_container_spaceship<std::set>()));
25 // `std::set` is not constexpr, so no `static_assert` test here.
26 return 0;
27 }
28