summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file1.cpp
blob: 327d0fb7718fd6f38eaa1b3191bd0a6e816a9462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "decls.h"

int g() {
  return 1;
}

struct1::~struct1() {
  int x = g(); // Break1
}

void struct1::f() {}

int main() {
  struct1::f();
  struct2::f();

  struct1 s1;
  struct2 s2;

  return 0;
}
OpenPOWER on IntegriCloud