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. }