X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=40f4bef19d67fd883d5e6b1c3c352df7f5154642;hb=26e7568488a46369198e336808b4aba57bbe7a63;hp=2898bcd97c4b24660ab0374e17a507067be84041;hpb=f7ed7e78e455b9a17b902aa030ce897afbe70d71;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index 2898bcd..40f4bef 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -4723,7 +4723,7 @@ ;; win32 is very specific about the order in which catch blocks ;; must be allocated on the stack -(with-test (:name :bug-121581169) +(with-test (:name :bug-1072739) (let ((f (compile nil `(lambda () (STRING= @@ -4822,3 +4822,16 @@ y)))) (list (string 'list)) (list "lisT"))))) + +(with-test (:name (restart-case optimize speed compiler-note)) + (handler-bind ((compiler-note #'error)) + (compile nil '(lambda () + (declare (optimize speed)) + (restart-case () (c ())))) + (compile nil '(lambda () + (declare (optimize speed)) + (let (x) + (restart-case (setf x (car (compute-restarts))) + (c ())) + x))))) +