diff options
Diffstat (limited to 'test/ASTMerge/Inputs/namespace1.cpp')
-rw-r--r-- | test/ASTMerge/Inputs/namespace1.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/namespace1.cpp b/test/ASTMerge/Inputs/namespace1.cpp new file mode 100644 index 0000000..1ff84f31 --- /dev/null +++ b/test/ASTMerge/Inputs/namespace1.cpp @@ -0,0 +1,17 @@ +// 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; +} |