//===----------------------------------------------------------------------===// // // 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 map // map(); #include #include #include "min_allocator.h" int main() { { std::map m; assert(m.empty()); assert(m.begin() == m.end()); } #if __cplusplus >= 201103L { std::map, min_allocator>> m; assert(m.empty()); assert(m.begin() == m.end()); } { std::map m = {}; assert(m.empty()); assert(m.begin() == m.end()); } #endif }