aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/limit-debug-info/onetwo.h
blob: f34c344159e7eb39b842cc223979b1594840c51d (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
struct One {
  int one = 142;
  constexpr One() = default;
  virtual ~One();
};

struct Two : One {
  int two = 242;
  constexpr Two() = default;
  ~Two() override;
};

namespace member {
struct One {
  int member = 147;
  constexpr One() = default;
  virtual ~One();
};

struct Two {
  One one;
  int member = 247;
  constexpr Two() = default;
  virtual ~Two();
};
} // namespace member

namespace array {
struct One {
  int member = 174;
  constexpr One() = default;
  virtual ~One();
};

struct Two {
  One one[3];
  int member = 274;
  constexpr Two() = default;
  virtual ~Two();
};
} // namespace array

namespace result {
struct One {
  int member;
  One(int member);
  virtual ~One();
};

struct Two {
  int member;
  Two(int member);
  One one() const;
  virtual ~Two();
};
} // namespace result

namespace func_shadow {
void One(int);
struct One {
  int one = 142;
  constexpr One() = default;
  virtual ~One();
};
void One(float);
} // namespace func_shadow