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 | |
9 | // <set> |
10 | |
11 | // class set |
12 | |
13 | // insert(...) |
14 | // emplace(...) |
15 | // emplace_hint(...) |
16 | |
17 | // UNSUPPORTED: c++03 |
18 | |
19 | #include <set> |
20 | #include "test_macros.h" |
21 | #include "container_test_types.h" |
22 | #include "../../set_allocator_requirement_test_templates.h" |
23 | |
24 | int main(int, char**) |
25 | { |
26 | testSetInsert<TCT::set<> >(); |
27 | testSetEmplace<TCT::set<> >(); |
28 | testSetEmplaceHint<TCT::set<> >(); |
29 | |
30 | return 0; |
31 | } |
32 | |