minix/external/bsd/llvm/dist/clang/test/ASTMerge/Inputs/namespace1.cpp

18 lines
210 B
C++
Raw Normal View History

// Merge success
namespace N1 {
int x;
}
// Merge multiple namespaces
namespace N2 {
extern int x;
}
namespace N2 {
extern float y;
}
// Merge namespace with conflict
namespace N3 {
extern float z;
}