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 //===----------------------------------------------------------------------===//
14 // insert_iterator<Cont> operator++(int);
19 #include "nasty_containers.hpp"
25 std::insert_iterator<C> i(c, c.end());
26 std::insert_iterator<C> r = i++;
28 assert(c.size() == 1);
29 assert(c.back() == 0);
34 test(std::vector<int>());
35 test(nasty_vector<int>());