diff options
author | Araq <rumpf_a@web.de> | 2014-10-31 21:13:02 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-10-31 21:13:02 +0100 |
commit | 590461d88a5cff9679b2dcb421990b9a32a94529 (patch) | |
tree | 9ccd958203b7f36fda01daea8f6c64ae55bc5d3c /tests/modules | |
parent | 860a28802e1ee86c5b512d4ad0aacf419c17ed4f (diff) | |
download | Nim-590461d88a5cff9679b2dcb421990b9a32a94529.tar.gz |
updated the test
Diffstat (limited to 'tests/modules')
-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() |