//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // explicit list(const Alloc& = Alloc()); #include #include #include "../../../DefaultOnly.h" int main() { { std::list l; assert(l.size() == 0); assert(std::distance(l.begin(), l.end()) == 0); } { std::list l; assert(l.size() == 0); assert(std::distance(l.begin(), l.end()) == 0); } { std::list l((std::allocator())); assert(l.size() == 0); assert(std::distance(l.begin(), l.end()) == 0); } }