parent
7d4f70280e
commit
402df0b061
2 changed files with 20 additions and 2 deletions
16
tests/nimdoc/t15916.nim
Normal file
16
tests/nimdoc/t15916.nim
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue