brintos

brintos / llvm-project-archived public Read only

0
0
Text · 500 B · 6951a76 Raw
24 lines · c
1struct A {};2extern const int variable = 0;3extern constexpr int function() { return 0; }4 5namespace 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;12struct C::A {};13const int C::variable = 0;14constexpr int C::function() { return 0; }15 16struct D {17  struct A;18  static const int variable;19  static constexpr int function();20};21struct D::A {};22const int D::variable = 0;23constexpr int D::function() { return 0; }24