aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/main.cpp
blob: ec7cfa20d3c64984c4e8a104b85d501c97a2fc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <cstdio>

struct A {
  int i = 42;
};

struct B {
  A a;
};

struct C {
  B b;
};

int main() {
  C *c = new C[5];
  puts("break here");
  return 0;
}