forked from OSchip/llvm-project
18 lines
219 B
C++
18 lines
219 B
C++
|
// Merge success
|
||
|
namespace N1 {
|
||
|
extern int x0;
|
||
|
}
|
||
|
|
||
|
// Merge multiple namespaces
|
||
|
namespace N2 {
|
||
|
extern int x;
|
||
|
}
|
||
|
namespace N2 {
|
||
|
extern float y;
|
||
|
}
|
||
|
|
||
|
// Merge namespace with conflict
|
||
|
namespace N3 {
|
||
|
extern double z;
|
||
|
}
|