summary refs log blame commit diff stats
path: root/tests/nimdoc/trunnableexamples2.nim
blob: 5a437744e9e4b5b3ea867f807f117a5a5e0e0c0a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             
discard """
cmd: "nim doc --doccmd:-d:testFooExternal --hints:off $file"
action: "compile"
joinable: false
"""

# pending bug #18077, merge back inside trunnableexamples.nim
when true: # runnableExamples with rdoccmd
  runnableExamples "-d:testFoo -d:testBar":
    doAssert defined(testFoo) and defined(testBar)
    doAssert defined(testFooExternal)