blob: 5b7cbd7da764bf1ad7b80d2361ad8854f88059b2 [file] [edit]
extern "C" int puts(const char *s);
extern int gGlobal;
int gGlobal = 23;
struct Structure {
int number = 30;
void f() { puts("break inside"); }
};
struct Wrapper {
Structure s;
};
struct Opaque;
int main(int argc, char **argv) {
Structure s;
Wrapper w;
Wrapper *wp = &w;
Opaque *opaque = (Opaque *)(void *)&s;
puts("break here");
s.f();
return 0;
}