aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/export_default.moon
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/export_default.moon')
-rw-r--r--spec/inputs/export_default.moon15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/inputs/export_default.moon b/spec/inputs/export_default.moon
new file mode 100644
index 0000000..73f43ac
--- /dev/null
+++ b/spec/inputs/export_default.moon
@@ -0,0 +1,15 @@
1
2print "OK"
3
4export default ->
5 print "hello"
6 123
7
8(x, fy)<- f 123, "abc" unless isOff
9print x
10(y, res)<- fy
11return if res
12 abc + y
13else
14 abc
15