]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc
alloc_traits.h (_S_max_size): Implement LWG 2466.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / set / allocator / minimal.cc
index 369fc78585e23538643161cd66f66447484cf384..4364130699e131fd1521178530f1c81fd3dbbde0 100644 (file)
@@ -40,7 +40,7 @@ void test01()
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v(alloc_type{});
   v = { test_type::value_type{} };
-  VERIFY( v.max_size() == traits_type::max_size(v.get_allocator()) );
+  VERIFY( v.max_size() < traits_type::max_size(v.get_allocator()) );
 }
 
 int main()