summaryrefslogtreecommitdiffstats
path: root/testing/068_ref_varargs.cpp
diff options
context:
space:
mode:
authorMatthew White <mehw.is.me@inventati.org>2017-07-24 05:28:12 (GMT)
committerMatthew White <mehw.is.me@inventati.org>2017-08-03 03:38:51 (GMT)
commitfce142b4282d80f16fff53ba1cbd2572119b17ef (patch)
treeb22a63ff9c68f1b05bf4a6040856193b3d97840d /testing/068_ref_varargs.cpp
parent037f465e934ce122c8412b55548a153ad517aba0 (diff)
downloadDoxygen-fce142b4282d80f16fff53ba1cbd2572119b17ef.zip
Doxygen-fce142b4282d80f16fff53ba1cbd2572119b17ef.tar.gz
Doxygen-fce142b4282d80f16fff53ba1cbd2572119b17ef.tar.bz2
Add variadic function arguments '...' regression tests
* testing/067_link_varargs.cpp: new file, @link regression test for variadic function arguments '...' * testing/067/067__link__varargs_8cpp.xml: new file, expected @link regression test result for variadic function arguments '...' * testing/068_ref_varargs.cpp: new file, @ref regression test for variadic function arguments '...' * testing/068/068__ref__varargs_8cpp.xml: new file, expected @ref regression test result for variadic function arguments '...'
Diffstat (limited to 'testing/068_ref_varargs.cpp')
-rw-r--r--testing/068_ref_varargs.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/068_ref_varargs.cpp b/testing/068_ref_varargs.cpp
new file mode 100644
index 0000000..c85daa2
--- /dev/null
+++ b/testing/068_ref_varargs.cpp
@@ -0,0 +1,20 @@
+// objective: test \ref command with function variadic arguments '...'
+// check: 068__ref__varargs_8cpp.xml
+
+/** \file
+ * See \ref func(int,...) "the function" for more info.
+ * See the \ref Test "test" class.
+ */
+
+/** A function
+ */
+void func(int p);
+
+/** Overloaded function taking variadic arguments
+ */
+void func(int p, ...);
+
+/** A test */
+class Test
+{
+};