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 // back_insert_iterator<Cont>
14 // back_inserter(Cont& x);
24 std::back_insert_iterator<C> i = std::back_inserter(c);
26 assert(c.size() == 1);
27 assert(c.back() == 0);
32 test(std::vector<int>());