cleaned up some tests
This commit is contained in:
parent
3a8f7d505b
commit
247af96b00
25 changed files with 19 additions and 8 deletions
9
tests/modules/mrecmod2.nim
Normal file
9
tests/modules/mrecmod2.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Module B
|
||||
import trecmod2
|
||||
|
||||
proc p*(x: trecmod2.T1): trecmod2.T1 =
|
||||
# this works because the compiler has already
|
||||
# added T1 to trecmod2's interface symbol table
|
||||
return x + 1
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue