Nim/tests/trecmod2.nim
Andreas Rumpf 08bc9ac03c version 0.7.6
2009-04-22 16:12:19 +02:00

10 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()