xref: /llvm-project/lldb/test/API/functionalities/data-formatter/callback-matching/main.cpp (revision d76566417e592cfac9c710f82575473b1b4a9285)
1 struct Base { int x; };
2 struct Derived : public Base { int y; };
3 
4 struct NonDerived { int z; };
5 
main()6 int main()
7 {
8     Base base = {1111};
9 
10     Derived derived;
11     derived.x = 2222;
12     derived.y = 3333;
13 
14     NonDerived nd = {4444};
15     return 0;     // Set break point at this line.
16 }
17