summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/sbvalue_synthetic/main.cpp
blob: d9b65f017a30af1725bc8454e6a432fc64ac5516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct Foo {
  int real_child = 47;
};

struct HasFoo {
  Foo f;
};

struct Point {
  int x;
  int y;
};

int main() {
  Foo foo;
  HasFoo has_foo;
  Point point_arr[] = {{1, 2}, {3, 4}, {5, 6}};
  int int_arr[] = {1, 2, 3, 4, 5, 6};
  Point *point_ptr = point_arr;
  int *int_ptr = int_arr;
  return 0; // break here
}