summaryrefslogtreecommitdiffstats
path: root/testing/074/namespacens.xml
diff options
context:
space:
mode:
authorVladimír Vondruš <mosra@centrum.cz>2018-12-29 20:13:08 (GMT)
committerVladimír Vondruš <mosra@centrum.cz>2018-12-29 20:13:08 (GMT)
commitabe694b6304c1d62fdb9ad1caa85ec91efac31d6 (patch)
treec0be11780501e2465300a987be138e28f6ca42a2 /testing/074/namespacens.xml
parent8c4abee144e1d0f3c3b0c405a57667e17b7f12f0 (diff)
downloadDoxygen-abe694b6304c1d62fdb9ad1caa85ec91efac31d6.zip
Doxygen-abe694b6304c1d62fdb9ad1caa85ec91efac31d6.tar.gz
Doxygen-abe694b6304c1d62fdb9ad1caa85ec91efac31d6.tar.bz2
testing: improve tests for \ref.
Tests for C++11 user-defined literals from https://github.com/doxygen/doxygen/issues/6299 were missing, adding them to avoid the regression re-appearing in the future.
Diffstat (limited to 'testing/074/namespacens.xml')
-rw-r--r--testing/074/namespacens.xml81
1 files changed, 81 insertions, 0 deletions
diff --git a/testing/074/namespacens.xml b/testing/074/namespacens.xml
new file mode 100644
index 0000000..495e550
--- /dev/null
+++ b/testing/074/namespacens.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
+ <compounddef id="namespacens" kind="namespace" language="C++">
+ <compoundname>ns</compoundname>
+ <sectiondef kind="func">
+ <memberdef kind="function" id="namespacens_1afd2e8a8437eff630f52a452ea6dc6e82" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>int</type>
+ <definition>int ns::operator""_op</definition>
+ <argsstring>(unsigned long long)</argsstring>
+ <name>operator""_op</name>
+ <param>
+ <type>unsigned long long</type>
+ </param>
+ <briefdescription>
+ <para>An operator. </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="074_ref.cpp" line="66" column="1"/>
+ </memberdef>
+ <memberdef kind="function" id="namespacens_1a47f70e51e66b81b8383a4e2da66f1e09" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>int</type>
+ <definition>int ns::operator""_oq</definition>
+ <argsstring>(unsigned long long)</argsstring>
+ <name>operator""_oq</name>
+ <param>
+ <type>unsigned long long</type>
+ </param>
+ <briefdescription>
+ <para>Another operator. </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="074_ref.cpp" line="69" column="1"/>
+ </memberdef>
+ <memberdef kind="function" id="namespacens_1aaa9eb8a7b40d4ed0edbe5e163b4e6e8d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>void</type>
+ <definition>void ns::foo</definition>
+ <argsstring>(std::initializer_list&lt; int * &gt;)</argsstring>
+ <name>foo</name>
+ <param>
+ <type>std::initializer_list&lt; int * &gt;</type>
+ </param>
+ <briefdescription>
+ <para>Function. </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="074_ref.cpp" line="72" column="1"/>
+ </memberdef>
+ </sectiondef>
+ <briefdescription>
+<para>A namespace. </para>
+ </briefdescription>
+ <detaileddescription>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>Link to an UDL w/o spaces: <ref refid="namespacens_1afd2e8a8437eff630f52a452ea6dc6e82" kindref="member">operator""_op</ref></para>
+ </listitem>
+ <listitem>
+ <para>Link to an UDL with spaces: <ref refid="namespacens_1a47f70e51e66b81b8383a4e2da66f1e09" kindref="member">operator""_oq</ref></para>
+ </listitem>
+ <listitem>
+ <para>Link to a function with spaces: <ref refid="namespacens_1aaa9eb8a7b40d4ed0edbe5e163b4e6e8d" kindref="member">foo(std::initializer_list&lt; int* &gt;)</ref></para>
+ </listitem>
+ <listitem>
+ <para>Link to a function w/o spaces: <ref refid="namespacens_1aaa9eb8a7b40d4ed0edbe5e163b4e6e8d" kindref="member">foo(std::initializer_list&lt;int*&gt;)</ref> </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </detaileddescription>
+ <location file="074_ref.cpp" line="63" column="1"/>
+ </compounddef>
+</doxygen>