You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
210 B
18 lines
210 B
7 months ago
|
// 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;
|
||
|
}
|