Merge commit '5e69ceb7a667377a61cb0c31d7ac20e245b3fafd'
[bpt/guile.git] / test-suite / vm / t-catch.scm
CommitLineData
7e4760e4
AW
1;; Test that nonlocal exits of the VM work.
2
3(begin
4 (define (foo thunk)
5 (catch #t thunk (lambda args args)))
6 (foo
7 (lambda ()
8 (let ((a 'one))
9 (1+ a)))))
10