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 // template <BackInsertionContainer Cont>
13 // front_insert_iterator<Cont>
14 // front_inserter(Cont& x);
24 std::front_insert_iterator<C> i = std::front_inserter(c);
26 assert(c.size() == 1);
27 assert(c.front() == 0);
32 test(std::list<int>());