2016-10-13 16:48:42 +08:00
|
|
|
namespace a {
|
|
|
|
class Move1 {
|
|
|
|
public:
|
|
|
|
int f();
|
|
|
|
};
|
|
|
|
} // namespace a
|
|
|
|
|
|
|
|
namespace b {
|
|
|
|
class Move2 {
|
|
|
|
public:
|
|
|
|
int f();
|
|
|
|
};
|
|
|
|
} // namespace b
|
|
|
|
|
|
|
|
namespace c {
|
|
|
|
class Move3 {
|
|
|
|
public:
|
|
|
|
int f();
|
|
|
|
};
|
|
|
|
|
|
|
|
class Move4 {
|
|
|
|
public:
|
|
|
|
int f();
|
|
|
|
};
|
|
|
|
|
2016-10-13 18:31:00 +08:00
|
|
|
class EnclosingMove5 {
|
|
|
|
public:
|
|
|
|
class Nested {
|
|
|
|
int f();
|
|
|
|
static int b;
|
|
|
|
};
|
|
|
|
static int a;
|
|
|
|
};
|
|
|
|
|
2016-10-13 16:48:42 +08:00
|
|
|
class NoMove {
|
|
|
|
public:
|
|
|
|
int f();
|
|
|
|
};
|
|
|
|
} // namespace c
|