1 | struct Foo { |
---|---|
2 | int real_child = 47; |
3 | }; |
4 | |
5 | struct HasFoo { |
6 | Foo f; |
7 | }; |
8 | |
9 | struct Point { |
10 | int x; |
11 | int y; |
12 | }; |
13 | |
14 | int main() { |
15 | Foo foo; |
16 | HasFoo has_foo; |
17 | Point point_arr[] = {{.x: 1, .y: 2}, {.x: 3, .y: 4}, {.x: 5, .y: 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 here |
22 | } |
23 |