projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.10.33:
[sbcl.git]
/
tests
/
condition.pure.lisp
diff --git
a/tests/condition.pure.lisp
b/tests/condition.pure.lisp
index
cf6bb96
..
f594e99
100644
(file)
--- a/
tests/condition.pure.lisp
+++ b/
tests/condition.pure.lisp
@@
-101,3
+101,8
@@
:failed)))))
(cerror (formatter "Continue from ~A") "bug ~A" :bug)))
:passed))
:failed)))))
(cerror (formatter "Continue from ~A") "bug ~A" :bug)))
:passed))
+
+;;; clauses in HANDLER-CASE are allowed to have declarations (and
+;;; indeed, only declarations)
+(assert
+ (null (handler-case (error "foo") (error () (declare (optimize speed))))))