summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-domain-cpp/roles2.rst
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/roots/test-domain-cpp/roles2.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/roots/test-domain-cpp/roles2.rst b/tests/roots/test-domain-cpp/roles2.rst
new file mode 100644
index 0000000..644b827
--- /dev/null
+++ b/tests/roots/test-domain-cpp/roles2.rst
@@ -0,0 +1,5 @@
+Check that we don't crash just because we misuse a role.
+
+.. cpp:class:: A
+
+:cpp:func:`A`