summary refs log tree commit diff stats
path: root/tests/modules/texport.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/texport.nim')
-rw-r--r--tests/modules/texport.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/modules/texport.nim b/tests/modules/texport.nim
new file mode 100644
index 000000000..a8c217ab8
--- /dev/null
+++ b/tests/modules/texport.nim
@@ -0,0 +1,13 @@
+discard """
+  output: "my object68"
+"""
+
+import mexporta
+
+# bug #1029:
+from nativesockets import accept
+
+# B.TMyObject has been imported implicitly here:
+var x: TMyObject
+echo($x, q(0), q"0")
+