Files
Nim/nimdoc/testproject/testproject.nim
2018-09-07 19:21:16 +02:00

22 lines
310 B
Nim

import subdir / subdir_b / utils
## This is the top level module.
runnableExamples:
doAssert bar(3, 4) == 7
foo(1, 2)
template foo*(a, b: SomeType) =
## This does nothing
##
discard
proc bar*[T](a, b: T): T =
result = a + b
import std/macros
macro bar*(): untyped =
result = newStmtList()