Files
Nim/tests/nimdoc/t15916.nim
flywind 402df0b061 fix #15916 (#15917) [backport]
* fix #15916

* add testcase for #15916

* add comments
2020-11-12 09:31:35 +01:00

17 lines
217 B
Nim

discard """
cmd: "nim doc --hints:off $file"
action: "compile"
joinable: false
"""
type
Test* = object
id: int
proc initTest*(id: int): Test =
result.id = id
proc hello*() =
runnableExamples:
discard