mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
updated the test
This commit is contained in:
5
tests/modules/mexport2a.nim
Normal file
5
tests/modules/mexport2a.nim
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
import mexport2b
|
||||
export mexport2b
|
||||
proc printAbc*() = echo "abc"
|
||||
|
||||
1
tests/modules/mexport2b.nim
Normal file
1
tests/modules/mexport2b.nim
Normal file
@@ -0,0 +1 @@
|
||||
proc printXyz*() = echo "xyz"
|
||||
10
tests/modules/texport2.nim
Normal file
10
tests/modules/texport2.nim
Normal file
@@ -0,0 +1,10 @@
|
||||
# bug #1595
|
||||
|
||||
import mexport2a
|
||||
|
||||
proc main() =
|
||||
echo "Import Test, two lines should follow. One with abc and one with xyz."
|
||||
printAbc()
|
||||
printXyz()
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user