1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // size_type max_size() const;
14 #include <forward_list>
17 #include "min_allocator.h"
23 typedef std::forward_list<T> C;
25 assert(c.max_size() > 0);
27 #if __cplusplus >= 201103L
30 typedef std::forward_list<T, min_allocator<T>> C;
32 assert(c.max_size() > 0);