summaryrefslogtreecommitdiffstats
path: root/testing/044_section.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-07-19 19:46:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-07-19 19:46:35 (GMT)
commit5875da6cae352bbcbe64f537ccfcfab08ad98b3f (patch)
tree1f707443b228c25e2d0389133b8e697e88a11426 /testing/044_section.h
parentea7a639c40a88c0de4baad4c0ffd5ae4b4065969 (diff)
downloadDoxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.zip
Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.gz
Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.bz2
Added regression test suite
Diffstat (limited to 'testing/044_section.h')
-rw-r--r--testing/044_section.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/044_section.h b/testing/044_section.h
new file mode 100644
index 0000000..ef48051
--- /dev/null
+++ b/testing/044_section.h
@@ -0,0 +1,28 @@
+// objective: test the \(public|protected|private)section commands
+// check: struct_s.xml
+
+/** A struct */
+struct S
+{
+ /** \publicsection */
+
+ /** public field */
+ int pub1;
+ /** another public field */
+ int pub2;
+
+ /** \protectedsection */
+
+ /** protected field */
+ int pro1;
+ /** another protected field */
+ int pro2;
+
+ /** \privatesection */
+
+ /** private field */
+ int pri1;
+ /** another private field */
+ int pri2;
+};
+