| //===----------------------------------------------------------------------===// |
| // 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. |
| //===----------------------------------------------------------------------===// |
| // size_type length() const; |
| #include "min_allocator.h" |
| assert(s.length() == s.size()); |
| test(S("12345678901234567890123456789012345678901234567890")); |
| typedef std::basic_string<char, std::char_traits<char>, min_allocator<char>> S; |
| test(S("12345678901234567890123456789012345678901234567890")); |