1 struct A {}; 2 extern const int variable = 0; 3 extern constexpr int function() { return 0; } 4 5 namespace N { 6 struct A {}; 7 extern const int variable = 0; 8 extern constexpr int function() { return 0; } 9 } 10 11 @import redecl_add_after_load_top; 12 struct C::A {}; 13 const int C::variable = 0; 14 constexpr int C::function() { return 0; } 15 16 struct D { 17 struct A; 18 static const int variable; 19 static constexpr int function(); 20 }; 21 struct D::A {}; 22 const int D::variable = 0; 23 constexpr int D::function() { return 0; } 24