1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include "decls.h" int g() { return 1; } struct1::~struct1() { int x = g(); // Break1 } void struct1::f() {} int main() { struct1::f(); struct2::f(); struct1 s1; struct2 s2; return 0; }