import a test case by @SaitoAtsushi

This commit is contained in:
Yuichi Nishiwaki 2014-09-10 17:45:18 +09:00
parent 0dbf238f83
commit 6c8a533128
1 changed files with 15 additions and 0 deletions

View File

@ -1650,6 +1650,21 @@
(c 'talk2)
(reverse path)))))
(test #\a
(call/cc
(lambda(cc3)
(let ((p (open-input-string "aa")))
((call/cc
(lambda(cc)
(call-with-port p
(lambda(port)
(cc3
(read-char
(call/cc
(lambda(cc2)
(cc cc2)))))))))
p)))))
(test-end)
(test-begin "6.11 Exceptions")