summaryrefslogtreecommitdiffstats
path: root/testing/057_inlinenamespace.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-11-21 18:59:38 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-11-21 18:59:38 (GMT)
commit61f8521f768165e02a5f28df3fb442e3b91d170b (patch)
tree24848bb3261aefa110ed01e575071fd22a56bf48 /testing/057_inlinenamespace.cpp
parentb2d009555ebce4a6802ac0255c056e880bdb45bd (diff)
downloadDoxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.zip
Doxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.tar.gz
Doxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.tar.bz2
issue #8192: Excluded inline namespace broken after a5792da8
- Further fixes to make classes inside inline namespaces appear in the parent scope again. - Also added a test case to check for regression
Diffstat (limited to 'testing/057_inlinenamespace.cpp')
-rw-r--r--testing/057_inlinenamespace.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/057_inlinenamespace.cpp b/testing/057_inlinenamespace.cpp
new file mode 100644
index 0000000..e3ac869
--- /dev/null
+++ b/testing/057_inlinenamespace.cpp
@@ -0,0 +1,19 @@
+// objective: test inline namespaces
+// check: namespacelibrary.xml
+// check: namespacelibrary_1_1v1.xml
+// check: namespacelibrary_1_1v2.xml
+namespace library
+{
+ namespace v1
+ {
+ class foo { public: void member(); };
+ void func();
+ namespace NS {}
+ }
+ inline namespace v2
+ {
+ class foo { public: void member(); };
+ void func();
+ namespace NS {}
+ }
+}