summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/functionalities/var_path/main.cpp
blob: 0ea19cfcfea53c824305837b28190f529926456a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <memory>

struct Point {
  int x, y;
};

int main() {
  Point pt = { 1, 2 };
  Point points[] = {{1010,2020}, {3030,4040}, {5050,6060}};
  Point *pt_ptr = &points[1];
  Point &pt_ref = pt;
  std::shared_ptr<Point> pt_sp(new Point{111,222});
  return 0; // Set a breakpoint here
}