summaryrefslogtreecommitdiff
path: root/test/exportmain.myr
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2013-02-19 14:01:04 -0500
committerOri Bernstein <orib@google.com>2013-02-19 14:01:04 -0500
commit7e94001f96f9c1f05af4be980ef8c25cea6b1342 (patch)
tree67a2b77e7006660dfd6455c710f3add00551da54 /test/exportmain.myr
parente559a7dc5f76558ea0f56d9bf26385b04b496bd4 (diff)
downloadmc-7e94001f96f9c1f05af4be980ef8c25cea6b1342.tar.gz
Allow empty package names.
This exports the symbols into the main namespace.
Diffstat (limited to 'test/exportmain.myr')
-rw-r--r--test/exportmain.myr4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/exportmain.myr b/test/exportmain.myr
index 2cb21d7..36bd5c8 100644
--- a/test/exportmain.myr
+++ b/test/exportmain.myr
@@ -1,5 +1,7 @@
+use std
+
pkg =
- foo : (val:int -> int)
+ const foo : (val:int -> int)
;;