summary refs log tree commit diff stats
path: root/tests/compile/mexportb.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/mexportb.nim')
-rw-r--r--tests/compile/mexportb.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/compile/mexportb.nim b/tests/compile/mexportb.nim
new file mode 100644
index 000000000..10d89f388
--- /dev/null
+++ b/tests/compile/mexportb.nim
@@ -0,0 +1,7 @@
+# module B
+type TMyObject* = object
+
+const xyz* = 13
+
+proc q*(x: int): int = 6
+proc q*(x: string): string = "8"