summary refs log tree commit diff stats
path: root/tests/ic/mimports.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ic/mimports.nim')
-rw-r--r--tests/ic/mimports.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ic/mimports.nim b/tests/ic/mimports.nim
new file mode 100644
index 000000000..50773e001
--- /dev/null
+++ b/tests/ic/mimports.nim
@@ -0,0 +1,9 @@
+from mimportsb {.all.} import fnb1, hfnb3
+
+proc fn1*(): int = 1
+proc fn2*(): int = 2
+proc hfn3(): int = 3
+proc hfn4(): int = 4
+proc hfn5(): int = 5
+
+export mimportsb.fnb2, hfnb3