2014-06-17 04:26:19 +08:00
|
|
|
extern int mergeUsedFlag;
|
2014-08-23 09:45:27 +08:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int n;
|
|
|
|
int m;
|
|
|
|
} NameForLinkage;
|
|
|
|
extern NameForLinkage name_for_linkage;
|
2014-08-27 07:29:11 +08:00
|
|
|
|
|
|
|
struct HasVirtualFunctions {
|
|
|
|
virtual void f();
|
|
|
|
};
|
|
|
|
struct OverridesVirtualFunctions : HasVirtualFunctions {
|
|
|
|
void f();
|
|
|
|
};
|
|
|
|
extern OverridesVirtualFunctions overrides_virtual_functions;
|
2014-08-30 06:33:38 +08:00
|
|
|
extern "C" void ExternCFunction();
|
2014-08-30 08:04:23 +08:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
struct Inner {
|
|
|
|
int n;
|
|
|
|
};
|
|
|
|
} NameForLinkage2;
|
|
|
|
auto name_for_linkage2_inner_b = NameForLinkage2::Inner();
|
|
|
|
typedef decltype(name_for_linkage2_inner_b) NameForLinkage2Inner;
|
2014-09-04 07:11:22 +08:00
|
|
|
|
|
|
|
namespace Aliased { extern int b; }
|
|
|
|
namespace Alias = Aliased;
|