aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/data-formatter/callback-matching/main.cpp
blob: 7732d87342a93c07531b06837ec316fea5fc06cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct Base { int x; };
struct Derived : public Base { int y; };

struct NonDerived { int z; };

int main()
{
    Base base = {1111};

    Derived derived;
    derived.x = 2222;
    derived.y = 3333;

    NonDerived nd = {4444};
    return 0;     // Set break point at this line.
}