diff options
author | Araq <rumpf_a@web.de> | 2012-12-01 19:10:47 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-12-01 19:10:47 +0100 |
commit | c98e3d2c274ac4bd4227d4e3f7e0d2636827f88c (patch) | |
tree | c9b624562ae38f56d19e7ed190307caea8c61241 /tests/compile/texport.nim | |
parent | f503439e811d822f19daa9591cb3bd9e90edabe7 (diff) | |
download | Nim-c98e3d2c274ac4bd4227d4e3f7e0d2636827f88c.tar.gz |
implements 'export' feature
Diffstat (limited to 'tests/compile/texport.nim')
-rw-r--r-- | tests/compile/texport.nim | 10 |
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") + |