Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / functionalities / limit-debug-info / main.cpp
blob1fe4feb3366499fda1927d4a77137e1da9892c6a
1 #include "onetwo.h"
3 struct InheritsFromOne : One {
4 int member = 47;
5 } inherits_from_one;
7 struct InheritsFromTwo : Two {
8 int member = 47;
9 } inherits_from_two;
11 struct OneAsMember {
12 member::One one;
13 int member = 47;
14 } one_as_member;
16 struct TwoAsMember {
17 member::Two two;
18 int member = 47;
19 } two_as_member;
21 array::One array_of_one[3];
22 array::Two array_of_two[3];
24 result::One get_one() { return result::One(124); }
25 result::Two get_two() { return result::Two(224); }
27 // Note that there's also a function with the name func_shadow::One.
28 struct ShadowedOne : func_shadow::One {
29 int member = 47;
30 } shadowed_one;
32 int main() { return get_one().member; }