summaryrefslogtreecommitdiffstats
path: root/tests/019/load-ret
diff options
context:
space:
mode:
Diffstat (limited to 'tests/019/load-ret')
-rw-r--r--tests/019/load-ret/module.tl1
-rw-r--r--tests/019/load-ret/module2.tl2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/019/load-ret/module.tl b/tests/019/load-ret/module.tl
new file mode 100644
index 00000000..05d69035
--- /dev/null
+++ b/tests/019/load-ret/module.tl
@@ -0,0 +1 @@
+(return-from load [apply + *load-args*])
diff --git a/tests/019/load-ret/module2.tl b/tests/019/load-ret/module2.tl
new file mode 100644
index 00000000..e651c3f5
--- /dev/null
+++ b/tests/019/load-ret/module2.tl
@@ -0,0 +1,2 @@
+(eval ^(defvar ,(pop *load-args*)))
+(return-from load [apply + *load-args*])