Bump to doxygen 1.9.2
[platform/upstream/doxygen.git] / testing / 057_inlinenamespace.cpp
1 // objective: test inline namespaces
2 // check: namespacelibrary.xml
3 // check: namespacelibrary_1_1v1.xml
4 // check: namespacelibrary_1_1v2.xml
5
6 /// the main namespace
7 namespace library
8 {
9     /// the first namespace
10     namespace v1
11     {
12         /// the class
13         class foo {
14           public:
15             /// member of the class
16             void member();
17         };
18         /// a method
19         void func();
20         /// a namespace
21         namespace NS {}
22     }
23     /// the inline namespace
24     inline namespace v2
25     {
26         /// the class
27         class foo {
28           public:
29             /// member of the class
30             void member();
31         };
32         /// a method
33         void func();
34         /// a namespace
35         namespace NS {}
36     }
37 }