//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class multimap // multimap(); #include #include #include "min_allocator.h" int main() { { std::multimap m; assert(m.empty()); assert(m.begin() == m.end()); } #if TEST_STD_VER >= 11 { std::multimap, min_allocator>> m; assert(m.empty()); assert(m.begin() == m.end()); } { typedef explicit_allocator> A; { std::multimap, A> m; assert(m.empty()); assert(m.begin() == m.end()); } { A a; std::multimap, A> m(a); assert(m.empty()); assert(m.begin() == m.end()); } } { std::multimap m = {}; assert(m.empty()); assert(m.begin() == m.end()); } #endif }