summaryrefslogtreecommitdiff
path: root/test/voideffect.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/voideffect.myr')
-rw-r--r--test/voideffect.myr13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/voideffect.myr b/test/voideffect.myr
new file mode 100644
index 0000000..c570b02
--- /dev/null
+++ b/test/voideffect.myr
@@ -0,0 +1,13 @@
+use std
+
+const bar = {
+ std.put("pass")
+}
+
+const foo = {
+ -> bar()
+}
+
+const main = {
+ foo()
+}