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