Files
Nim/tests/compile/trecmod2.nim
2011-11-19 15:45:51 +01:00

11 lines
193 B
Nim
Executable File

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