Files
Nim/tests/modules/trecmod2.nim
2015-02-10 20:19:45 +01:00

11 lines
193 B
Nim

type
T1* = int # Module A exports the type ``T1``
import mrecmod2 # the compiler starts parsing B
proc main() =
var i = p(3) # works because B has been parsed completely here
main()