23 lines · cpp
1struct Foo {2 int real_child = 47;3};4 5struct HasFoo {6 Foo f;7};8 9struct Point {10 int x;11 int y;12};13 14int main() {15 Foo foo;16 HasFoo has_foo;17 Point point_arr[] = {{1, 2}, {3, 4}, {5, 6}};18 int int_arr[] = {1, 2, 3, 4, 5, 6};19 Point *point_ptr = point_arr;20 int *int_ptr = int_arr;21 return 0; // break here22}23