summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-domain-c/namespace.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-domain-c/namespace.rst')
-rw-r--r--tests/roots/test-domain-c/namespace.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/roots/test-domain-c/namespace.rst b/tests/roots/test-domain-c/namespace.rst
new file mode 100644
index 0000000..c220d38
--- /dev/null
+++ b/tests/roots/test-domain-c/namespace.rst
@@ -0,0 +1,21 @@
+.. c:namespace:: NS
+
+.. c:var:: int NSVar
+
+.. c:namespace:: NULL
+
+.. c:var:: int NULLVar
+
+.. c:namespace:: NSDummy
+
+.. c:namespace:: 0
+
+.. c:var:: int ZeroVar
+
+.. c:namespace-push:: NS2.NS3
+
+.. c:var:: int NS2NS3Var
+
+.. c:namespace-pop::
+
+.. c:var:: int PopVar