summary refs log tree commit diff stats
path: root/tests/stdlib/tdochelpers.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tdochelpers.nim')
-rw-r--r--tests/stdlib/tdochelpers.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stdlib/tdochelpers.nim b/tests/stdlib/tdochelpers.nim
index 5bcdf32d5..9d440a1d6 100644
--- a/tests/stdlib/tdochelpers.nim
+++ b/tests/stdlib/tdochelpers.nim
@@ -153,3 +153,9 @@ suite "Integration with Nim":
                               outType: "T")
     check(input1.toLangSymbol == expected)
     check(input2.toLangSymbol == expected)
+
+  test "type of type":
+    check ("`CopyFlag enum`_".rstParseTest.toLangSymbol ==
+           LangSymbol(symKind: "type",
+                      symTypeKind: "enum",
+                      name: "Copyflag"))