1#include <string>
2
3class C {
4public:
5 int field_ = 1337;
6};
7
8class TestMethods {
9public:
10 void TestInstanceVariables() {
11 C c;
12 c.field_ = -1;
13
14 return; // Set a breakpoint here
15 }
16};
17
18int main(int argc, char **argv) {
19 TestMethods tm;
20
21 tm.TestInstanceVariables();
22 return 0;
23}
24

source code of lldb/test/API/commands/frame/var-dil/basics/InstanceVariables/main.cpp