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 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: c++98, c++03
14 // void assign(initializer_list<value_type> il);
19 #include "min_allocator.h"
25 d.assign({3, 4, 5, 6});
26 assert(d.size() == 4);
27 std::list<int>::iterator i = d.begin();
34 std::list<int, min_allocator<int>> d;
35 d.assign({3, 4, 5, 6});
36 assert(d.size() == 4);
37 std::list<int, min_allocator<int>>::iterator i = d.begin();