diff --git a/test-files/golden-tests/symbols/record/class-template-array-spec.adoc b/test-files/golden-tests/symbols/record/class-template-array-spec.adoc new file mode 100644 index 0000000000..697e57f602 --- /dev/null +++ b/test-files/golden-tests/symbols/record/class-template-array-spec.adoc @@ -0,0 +1,52 @@ += Reference +:mrdocs: + +[#index] +== Global namespace + +=== Types + +[cols="1,4"] +|=== +| Name| Description +| link:#A-000[`A`] +| Issue #1172. +| link:#A-004[`A<T[N], void, void>`] +| +|=== + +[#A-000] +== A + +Issue #1172. + +=== Synopsis + +Declared in `<class‐template‐array‐spec.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +template< + typename T, + typename U = void, + typename V = void> +struct A; +---- + +[#A-004] +== link:#A-000[A]<T[N], void, void> + +=== Synopsis + +Declared in `<class‐template‐array‐spec.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +template< + typename T, + unsigned long N> +struct link:#A-000[A]<T[N], void, void>; +---- + + +[.small]#Created with https://www.mrdocs.com[MrDocs]# diff --git a/test-files/golden-tests/symbols/record/class-template-array-spec.cpp b/test-files/golden-tests/symbols/record/class-template-array-spec.cpp new file mode 100644 index 0000000000..e58234b1e9 --- /dev/null +++ b/test-files/golden-tests/symbols/record/class-template-array-spec.cpp @@ -0,0 +1,11 @@ +/// Issue #1172. +template +struct A; + +template +struct A +{}; + +template +struct A +{}; diff --git a/test-files/golden-tests/symbols/record/class-template-array-spec.html b/test-files/golden-tests/symbols/record/class-template-array-spec.html new file mode 100644 index 0000000000..af68085518 --- /dev/null +++ b/test-files/golden-tests/symbols/record/class-template-array-spec.html @@ -0,0 +1,76 @@ + + +Reference + + + +
+

Reference

+
+
+

+Global Namespace

+
+

+Types

+ + + + + + + + + + + +
NameDescription
A Issue #1172.
A<T[N], void, void>
+ +
+
+
+

+A

+
+

Issue #1172.

+
+
+
+

+Synopsis

+
+Declared in <class-template-array-spec.cpp>
+
template<
+    typename T,
+    typename U = void,
+    typename V = void>
+struct A;
+
+ + +
+
+
+

+A<T[N], void, void>

+
+
+

+Synopsis

+
+Declared in <class-template-array-spec.cpp>
+
template<
+    typename T,
+    unsigned long N>
+struct A<T[N], void, void>;
+
+ + +
+ +
+ + + \ No newline at end of file diff --git a/test-files/golden-tests/symbols/record/class-template-array-spec.xml b/test-files/golden-tests/symbols/record/class-template-array-spec.xml new file mode 100644 index 0000000000..b4cb8e2219 --- /dev/null +++ b/test-files/golden-tests/symbols/record/class-template-array-spec.xml @@ -0,0 +1,162 @@ + + + + + + namespace + //////////////////////////8= + regular + + ABmZytgXstnC9bI1eeAkIEeexCM= + BImCLyzY3azoxv/pd8PtoMYhX4k= + + + + A + + + class-template-array-spec.cpp + class-template-array-spec.cpp + 5 + 1 + + + class-template-array-spec.cpp + class-template-array-spec.cpp + 2 + 1 + 1 + + + record + ABmZytgXstnC9bI1eeAkIEeexCM= + regular + //////////////////////////8= + + + brief + + text + Issue #1172. + + + + struct + + + + + + + + + + + + A + + + class-template-array-spec.cpp + class-template-array-spec.cpp + 10 + 1 + + + record + BImCLyzY3azoxv/pd8PtoMYhX4k= + regular + //////////////////////////8= + struct + + + + + + + + + + +