summary refs log tree commit diff stats
path: root/tests/modules/mexporta.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/mexporta.nim')
-rw-r--r--tests/modules/mexporta.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/modules/mexporta.nim b/tests/modules/mexporta.nim
new file mode 100644
index 000000000..b7d4ddec9
--- /dev/null
+++ b/tests/modules/mexporta.nim
@@ -0,0 +1,8 @@
+# module A
+import mexportb
+export mexportb.TMyObject, mexportb.xyz
+
+export mexportb.q
+
+proc `$`*(x: TMyObject): string = "my object"
+