summaryrefslogtreecommitdiffstats
path: root/testing/047_return.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/047_return.cpp')
-rw-r--r--testing/047_return.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/047_return.cpp b/testing/047_return.cpp
new file mode 100644
index 0000000..7585986
--- /dev/null
+++ b/testing/047_return.cpp
@@ -0,0 +1,20 @@
+// objective: test the \result, \return, and \returns commands
+// check: 047__return_8cpp.xml
+
+/** \file */
+
+/** Test function 1.
+ * \result A integer.
+ */
+int func1();
+
+/** Test function 2.
+ * \return A integer.
+ */
+int func2();
+
+/** Test function 3.
+ * \returns A integer.
+ */
+int func3();
+