26 lines · cpp
1extern "C" int puts(const char *s);2 3extern int gGlobal;4int gGlobal = 23;5 6struct Structure {7 int number = 30;8 void f() { puts("break inside"); }9};10 11struct Wrapper {12 Structure s;13};14 15struct Opaque;16 17int main(int argc, char **argv) {18 Structure s;19 Wrapper w;20 Wrapper *wp = &w;21 Opaque *opaque = (Opaque *)(void *)&s;22 puts("break here");23 s.f();24 return 0;25}26