brintos

brintos / llvm-project-archived public Read only

0
0
Text · 669 B · 5eb4bf3 Raw
53 lines · cpp
1#include "multiple_class_test.h"2 3using a::Move1;4using namespace a;5using A = a::Move1;6static int g = 0;7 8namespace a {9int Move1::f() {10  return 0;11}12} // namespace a13 14namespace {15using a::Move1;16using namespace a;17static int k = 0;18} // namespace19 20namespace b {21using a::Move1;22using namespace a;23using T = a::Move1;24int Move2::f() {25  return 0;26}27} // namespace b28 29namespace c {30int Move3::f() {31  using a::Move1;32  using namespace b;33  return 0;34}35 36int Move4::f() {37  return k;38}39 40int EnclosingMove5::a = 1;41 42int EnclosingMove5::Nested::f() {43  return g;44}45 46int EnclosingMove5::Nested::b = 1;47 48int NoMove::f() {49  static int F = 0;50  return g;51}52} // namespace c53