1 | #include <stdio.h> |
---|---|
2 | |
3 | struct SummaryAndChildren { |
4 | int child = 30; |
5 | }; |
6 | |
7 | struct SummaryOnly { |
8 | int child = 30; |
9 | }; |
10 | |
11 | struct ChildrenOnly { |
12 | int child = 30; |
13 | }; |
14 | |
15 | int main() { |
16 | SummaryAndChildren summary_and_children; |
17 | SummaryOnly summary_only; |
18 | ChildrenOnly children_only; |
19 | auto &summary_and_children_ref = summary_and_children; |
20 | auto &summary_only_ref = summary_only; |
21 | auto &children_only_ref = children_only; |
22 | printf(format: "break here\n"); |
23 | return 0; |
24 | } |
25 |