summary refs log tree commit diff stats
path: root/tests/modules
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-11-06 01:53:57 +0100
committerAraq <rumpf_a@web.de>2014-11-06 01:53:57 +0100
commit9500dfcc2e7b56a626744eff3000612b13c79575 (patch)
tree7911f4edec5f96933968d3701087e85813646cee /tests/modules
parentee9c70e0348b0586d69faa06d2ed1655bb216a6a (diff)
downloadNim-9500dfcc2e7b56a626744eff3000612b13c79575.tar.gz
fixes #1612
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/mexport2a.nim2
-rw-r--r--tests/modules/mexport2b.nim2
-rw-r--r--tests/modules/texport2.nim3
3 files changed, 6 insertions, 1 deletions
diff --git a/tests/modules/mexport2a.nim b/tests/modules/mexport2a.nim
index deaef8fa4..3cf84337e 100644
--- a/tests/modules/mexport2a.nim
+++ b/tests/modules/mexport2a.nim
@@ -3,3 +3,5 @@ import mexport2b
 export mexport2b
 proc printAbc*() = echo "abc"
 
+proc foo*() = echo "A.foo"
+
diff --git a/tests/modules/mexport2b.nim b/tests/modules/mexport2b.nim
index 8ea6085de..1af034133 100644
--- a/tests/modules/mexport2b.nim
+++ b/tests/modules/mexport2b.nim
@@ -1 +1,3 @@
 proc printXyz*() = echo "xyz"
+
+proc foo*(x: int) = echo "B.foo"
diff --git a/tests/modules/texport2.nim b/tests/modules/texport2.nim
index 0826eec9d..6e55873c5 100644
--- a/tests/modules/texport2.nim
+++ b/tests/modules/texport2.nim
@@ -1,4 +1,4 @@
-# bug #1595
+# bug #1595, #1612
 
 import mexport2a
 
@@ -8,3 +8,4 @@ proc main() =
   printXyz()
 
 main()
+foo(3)