1#include <stdio.h>
2
3struct SummaryAndChildren {
4 int child = 30;
5};
6
7struct SummaryOnly {
8 int child = 30;
9};
10
11struct ChildrenOnly {
12 int child = 30;
13};
14
15int 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

source code of lldb/test/API/functionalities/data-formatter/root-reference-children/main.cpp