summary refs log tree commit diff stats
path: root/tests/compile/texport.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-01 19:10:47 +0100
committerAraq <rumpf_a@web.de>2012-12-01 19:10:47 +0100
commitc98e3d2c274ac4bd4227d4e3f7e0d2636827f88c (patch)
treec9b624562ae38f56d19e7ed190307caea8c61241 /tests/compile/texport.nim
parentf503439e811d822f19daa9591cb3bd9e90edabe7 (diff)
downloadNim-c98e3d2c274ac4bd4227d4e3f7e0d2636827f88c.tar.gz
implements 'export' feature
Diffstat (limited to 'tests/compile/texport.nim')
-rw-r--r--tests/compile/texport.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/compile/texport.nim b/tests/compile/texport.nim
new file mode 100644
index 000000000..99228dfce
--- /dev/null
+++ b/tests/compile/texport.nim
@@ -0,0 +1,10 @@
+discard """
+  output: "my object68"
+"""
+
+import mexporta
+
+# B.TMyObject has been imported implicitly here: 
+var x: TMyObject
+echo($x, q(0), q"0")
+