llvm/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp

#include <map>
#include <string>
#include <vector>

typedef std::map<int, int> intint_map;
typedef std::map<std::string, int> strint_map;

typedef std::unordered_map<int, int> intint_umap;
typedef std::unordered_map<std::string, int> strint_umap;

typedef std::vector<int> int_vector;
typedef std::vector<std::string> string_vector;

typedef intint_map::iterator ii_map_iter;
typedef strint_map::iterator si_map_iter;
typedef intint_umap::iterator ii_umap_iter;
typedef strint_umap::iterator si_umap_iter;

typedef int_vector::iterator ivter;
typedef string_vector::iterator svter;

int main() {
  intint_map iim;
  iim[0xABCD] = 0xF0F1;

  strint_map sim;
  sim["world"] = 42;

  intint_umap iium;
  iium[0xF00D] = 0xCAFE;

  strint_umap sium;
  sium["hello"] = 137;

  int_vector iv;
  iv.push_back(3);

  string_vector sv;
  sv.push_back("hello");

  ii_map_iter iimI = iim.begin();
  si_map_iter simI = sim.begin();
  ii_umap_iter iiumI = iium.begin();
  si_umap_iter siumI = sium.begin();

  ivter ivI = iv.begin();
  svter svI = sv.begin();

  return 0; // Set break point at this line.
}