summaryrefslogtreecommitdiffstats
path: root/tests/012/stack2.txr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012/stack2.txr')
-rw-r--r--tests/012/stack2.txr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/012/stack2.txr b/tests/012/stack2.txr
new file mode 100644
index 00000000..df9e209a
--- /dev/null
+++ b/tests/012/stack2.txr
@@ -0,0 +1,8 @@
+@(define recur ())
+@(recur)
+@(end)
+@(try)
+@(recur)
+@(catch stack-overflow (arg))
+@(do (put-line "caught"))
+@(end)