brintos

brintos / llvm-project-archived public Read only

0
0
Text · 282 B · 7732d87 Raw
17 lines · cpp
1struct Base { int x; };2struct Derived : public Base { int y; };3 4struct NonDerived { int z; };5 6int 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