2010-02-25 05:52:55 +08:00
|
|
|
// Header for PCH test namespaces.cpp
|
|
|
|
|
|
|
|
namespace N1 {
|
|
|
|
typedef int t1;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace N1 {
|
|
|
|
typedef int t2;
|
2010-05-08 05:43:38 +08:00
|
|
|
|
|
|
|
void used_func();
|
|
|
|
|
|
|
|
struct used_cls { };
|
2010-02-25 05:52:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace N2 {
|
|
|
|
typedef float t1;
|
2010-05-08 05:43:38 +08:00
|
|
|
|
|
|
|
namespace Inner {
|
|
|
|
typedef int t3;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
void anon() { }
|
|
|
|
class C;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace N3 {
|
|
|
|
namespace {
|
|
|
|
class C;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Alias1 = N2::Inner;
|
|
|
|
|
|
|
|
using namespace N2::Inner;
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
void ext();
|
2010-02-25 05:52:55 +08:00
|
|
|
}
|
2010-10-06 04:41:58 +08:00
|
|
|
|
|
|
|
inline namespace N4 {
|
|
|
|
struct MemberOfN4;
|
|
|
|
}
|