summaryrefslogtreecommitdiffstats
path: root/testing/016_copydoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/016_copydoc.c')
-rw-r--r--testing/016_copydoc.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/016_copydoc.c b/testing/016_copydoc.c
new file mode 100644
index 0000000..bb8b1bb
--- /dev/null
+++ b/testing/016_copydoc.c
@@ -0,0 +1,23 @@
+// objective: test the \copydoc, \copybrief, \copydetails, and \details commands
+// check: 016__copydoc_8c.xml
+
+/** \file
+ * Text \a argument more text.
+ */
+
+/** \brief Brief description.
+ * \details Detailed description.
+ */
+void func(int i);
+
+/** \copybrief func(int) */
+void func_brief();
+
+/** \copydetails func(int) */
+void func_details();
+
+/** \copydoc func(int)
+ * More text.
+ */
+void func_doc();
+