1#include <iostream>
2
3class Baz {
4public:
5 int x;
6};
7
8class Foo
9{
10public:
11 Baz t;
12 int temp;
13
14 int Bar(int x, int y) { return x + y; }
15};
16
17namespace { int Quux (void) { return 0; } }
18
19struct Container { int MemberVar; };
20
21int main(int argc, char *argv[]) {
22 if (argc > 1 && std::string(argv[1]) == "-x")
23 std::cin.get();
24
25 Foo fooo;
26 Foo *ptr_fooo = &fooo;
27 fooo.Bar(x: 1, y: 2);
28
29 Container container;
30 Container *ptr_container = &container;
31 int q = Quux();
32 return container.MemberVar = 3; // Break here
33}
34

source code of lldb/test/API/functionalities/completion/main.cpp