16
int processor (struct container *c)
18
return c->foo.d + c->b; // Set breakpoint 0 here.
3
struct anonymous_nest {
16
struct anonymous_child {
29
struct anonymous_grandchild {
42
int processor_nest (struct anonymous_nest *n)
44
return n->foo.d + n->b; // Set breakpoint 0 here.
47
int processor_child (struct anonymous_child *c)
49
return c->foo.d + c->grandchild.b; // Set breakpoint 1 here.
52
int processor_grandchild (struct anonymous_grandchild *g)
54
return g->child.foo.d + g->child.b;
23
struct container c = { 0, 2, 0, 4 };
25
printf("%d\n", processor(&c));
71
struct anonymous_nest n = { 0, 2, 0, 4 };
72
struct anonymous_child c = { 0, 2, 0, 4 };
73
struct anonymous_grandchild g = { 0, 2, 0, 4 };
77
printf("%d\n", processor_nest(&n));
78
printf("%d\n", processor_child(&c));
79
printf("%d\n", processor_grandchild(&g)); // Set breakpoint 2 here.