1#include "onetwo.h"
2
3struct InheritsFromOne : One {
4 int member = 47;
5} inherits_from_one;
6
7struct InheritsFromTwo : Two {
8 int member = 47;
9} inherits_from_two;
10
11struct OneAsMember {
12 member::One one;
13 int member = 47;
14} one_as_member;
15
16struct TwoAsMember {
17 member::Two two;
18 int member = 47;
19} two_as_member;
20
21array::One array_of_one[3];
22array::Two array_of_two[3];
23
24result::One get_one() { return result::One(124); }
25result::Two get_two() { return result::Two(224); }
26
27// Note that there's also a function with the name func_shadow::One.
28struct ShadowedOne : func_shadow::One {
29 int member = 47;
30} shadowed_one;
31
32int main() { return get_one().member; }
33

source code of lldb/test/API/functionalities/limit-debug-info/main.cpp