//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // template , class Pred = equal_to, // class Alloc = allocator>> // class unordered_map // size_type max_size() const; #include #include #include "min_allocator.h" int main() { { std::unordered_map u; assert(u.max_size() > 0); } #if TEST_STD_VER >= 11 { std::unordered_map, std::equal_to, min_allocator>> u; assert(u.max_size() > 0); } #endif }