1#include <cstdio>
2#include <deque>
3typedef std::deque<int> int_deq;
4
5void by_ref_and_ptr(std::deque<int> &ref, std::deque<int> *ptr) {
6 printf(format: "stop here");
7 return;
8}
9
10int main() {
11 int_deq numbers;
12 printf(format: "break here");
13
14 (numbers.push_back(x: 1));
15 printf(format: "break here");
16
17 (numbers.push_back(x: 12));
18 (numbers.push_back(x: 123));
19 (numbers.push_back(x: 1234));
20 (numbers.push_back(x: 12345));
21 (numbers.push_back(x: 123456));
22 (numbers.push_back(x: 1234567));
23 by_ref_and_ptr(ref&: numbers, ptr: &numbers);
24 printf(format: "break here");
25
26 numbers.clear();
27 printf(format: "break here");
28
29 return 0;
30}
31

source code of lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/deque/main.cpp