3 struct InheritsFromOne
: One
{
7 struct InheritsFromTwo
: Two
{
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
{
32 int main() { return get_one().member
; }