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 // vector(initializer_list<value_type> il);
19 #include "min_allocator.h"
24 std::vector<bool> d = {true, false, false, true};
25 assert(d.size() == 4);
27 assert(d[1] == false);
28 assert(d[2] == false);
32 std::vector<bool, min_allocator<bool>> d = {true, false, false, true};
33 assert(d.size() == 4);
35 assert(d[1] == false);
36 assert(d[2] == false);