aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/data-formatter/root-reference-children/main.cpp
blob: da4d0d2128a46c10ea5b0c05d8fc5457d38c05a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stdio.h>

struct SummaryAndChildren {
  int child = 30;
};

struct SummaryOnly {
  int child = 30;
};

struct ChildrenOnly {
  int child = 30;
};

int main() {
  SummaryAndChildren summary_and_children;
  SummaryOnly summary_only;
  ChildrenOnly children_only;
  auto &summary_and_children_ref = summary_and_children;
  auto &summary_only_ref = summary_only;
  auto &children_only_ref = children_only;
  printf("break here\n");
  return 0;
}