summaryrefslogtreecommitdiffstats
path: root/tests/load-hook.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/load-hook.tl')
-rw-r--r--tests/load-hook.tl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/load-hook.tl b/tests/load-hook.tl
new file mode 100644
index 00000000..508e50ad
--- /dev/null
+++ b/tests/load-hook.tl
@@ -0,0 +1,4 @@
+(defparml counter 0)
+(push (lambda () (inc counter)) *load-hooks*)
+(push (lambda () (dec counter)) *load-hooks*)
+(pop *load-hooks*)