summary refs log tree commit diff stats
path: root/tests/parser/tdoc_comments.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-09-20 09:09:53 +0200
committerGitHub <noreply@github.com>2021-09-20 09:09:53 +0200
commitc56ba3f06a3d77ff5eabb3b48ecd6a752e5a3ea8 (patch)
tree7494df5db2c61b597c4e28b82bc31db8310b1722 /tests/parser/tdoc_comments.nim
parent3241df2a13662e0158ec9d0b0c07996b22fb0939 (diff)
downloadNim-c56ba3f06a3d77ff5eabb3b48ecd6a752e5a3ea8.tar.gz
fixes #18847 [backport] (#18870)
Diffstat (limited to 'tests/parser/tdoc_comments.nim')
-rw-r--r--tests/parser/tdoc_comments.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/parser/tdoc_comments.nim b/tests/parser/tdoc_comments.nim
index fa1374b45..3c86e69ea 100644
--- a/tests/parser/tdoc_comments.nim
+++ b/tests/parser/tdoc_comments.nim
@@ -69,3 +69,7 @@ type
 
   MyEnum3* = enum
     value5  ## only document the enum value
+
+# bug #18847
+proc close*() =   ## asdfasdfsdfa
+  discard         ## adsfasdfads