summary refs log tree commit diff stats
path: root/tests/modules/texport2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/texport2.nim')
-rw-r--r--tests/modules/texport2.nim18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/modules/texport2.nim b/tests/modules/texport2.nim
new file mode 100644
index 000000000..e90c58673
--- /dev/null
+++ b/tests/modules/texport2.nim
@@ -0,0 +1,18 @@
+discard """
+output: '''
+abc
+xyz
+B.foo
+'''
+"""
+
+# bug #1595, #1612
+
+import mexport2a
+
+proc main() =
+  printAbc()
+  printXyz()
+
+main()
+foo(3)