diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modules/mexport2a.nim | 5 | ||||
-rw-r--r-- | tests/modules/mexport2b.nim | 1 | ||||
-rw-r--r-- | tests/modules/texport2.nim | 10 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/modules/mexport2a.nim b/tests/modules/mexport2a.nim new file mode 100644 index 000000000..deaef8fa4 --- /dev/null +++ b/tests/modules/mexport2a.nim @@ -0,0 +1,5 @@ + +import mexport2b +export mexport2b +proc printAbc*() = echo "abc" + diff --git a/tests/modules/mexport2b.nim b/tests/modules/mexport2b.nim new file mode 100644 index 000000000..8ea6085de --- /dev/null +++ b/tests/modules/mexport2b.nim @@ -0,0 +1 @@ +proc printXyz*() = echo "xyz" diff --git a/tests/modules/texport2.nim b/tests/modules/texport2.nim new file mode 100644 index 000000000..0826eec9d --- /dev/null +++ b/tests/modules/texport2.nim @@ -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() |