xref: /llvm-project/lldb/test/API/functionalities/data-formatter/root-reference-children/main.cpp (revision c7eb1b07470b9babfcd258f014df3661e5f84b30)
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 
main()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("break here\n");
23   return 0;
24 }
25