diff options
author | Zahary Karadjov <zahary@gmail.com> | 2018-05-04 17:47:37 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-07 09:37:49 +0200 |
commit | cf13c5fba48e757531b3f9cb0e3aeae7710c849c (patch) | |
tree | 37c2ab529a4dfe808f6fd0118a5f7a51d51ad4ee /tests/modules | |
parent | 72976139009b9ae74669dc2443474f091c99f2e4 (diff) | |
download | Nim-cf13c5fba48e757531b3f9cb0e3aeae7710c849c.tar.gz |
implement the export/except statement
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/definitions.nim | 4 | ||||
-rw-r--r-- | tests/modules/proxy_module.nim | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/modules/definitions.nim b/tests/modules/definitions.nim new file mode 100644 index 000000000..edc6eaa6d --- /dev/null +++ b/tests/modules/definitions.nim @@ -0,0 +1,4 @@ +var v*: int +proc p* = echo "proc p called" +template t* = echo "template t expanded" + diff --git a/tests/modules/proxy_module.nim b/tests/modules/proxy_module.nim new file mode 100644 index 000000000..c244688cd --- /dev/null +++ b/tests/modules/proxy_module.nim @@ -0,0 +1,3 @@ +import definitions +export definitions except p + |