summaryrefslogtreecommitdiffstats
path: root/testing/057_inlinenamespace.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-11-22 12:25:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-11-22 12:25:09 (GMT)
commita32a778635bef381022c90e3944bedfca539d6a0 (patch)
treeba956b88f4461046928ca950cc2c174058c261be /testing/057_inlinenamespace.cpp
parent9974bdcdacae9efe1958ad427ee31d604d6e1715 (diff)
downloadDoxygen-a32a778635bef381022c90e3944bedfca539d6a0.zip
Doxygen-a32a778635bef381022c90e3944bedfca539d6a0.tar.gz
Doxygen-a32a778635bef381022c90e3944bedfca539d6a0.tar.bz2
Doxygen warnings are not seen as errors during running tests
Corrected warnings of test 57.
Diffstat (limited to 'testing/057_inlinenamespace.cpp')
-rw-r--r--testing/057_inlinenamespace.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/testing/057_inlinenamespace.cpp b/testing/057_inlinenamespace.cpp
index e3ac869..337c4b1 100644
--- a/testing/057_inlinenamespace.cpp
+++ b/testing/057_inlinenamespace.cpp
@@ -2,18 +2,36 @@
// check: namespacelibrary.xml
// check: namespacelibrary_1_1v1.xml
// check: namespacelibrary_1_1v2.xml
+
+/// the main namespace
namespace library
{
+ /// the first namespace
namespace v1
{
- class foo { public: void member(); };
+ /// the class
+ class foo {
+ public:
+ /// member of the class
+ void member();
+ };
+ /// a method
void func();
+ /// a namespace
namespace NS {}
}
+ /// the inline namespace
inline namespace v2
{
- class foo { public: void member(); };
+ /// the class
+ class foo {
+ public:
+ /// member of the class
+ void member();
+ };
+ /// a method
void func();
+ /// a namespace
namespace NS {}
}
}