aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/export_default.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/outputs/export_default.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/outputs/export_default.lua b/spec/outputs/export_default.lua
new file mode 100644
index 0000000..a9c787f
--- /dev/null
+++ b/spec/outputs/export_default.lua
@@ -0,0 +1,19 @@
1local _module_0 = nil
2print("OK")
3_module_0 = function()
4 print("hello")
5 return 123
6end
7if not isOff then
8 f(123, "abc", function(x, fy)
9 print(x)
10 return fy(function(y, res)
11 if res then
12 return abc + y
13 else
14 return abc
15 end
16 end)
17 end)
18end
19return _module_0