Files
Nim/tests/trecmod2.nim
2010-02-14 00:29:35 +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()