X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdefstruct.impure.lisp;h=93cd7b9547e7b5890585d778cb2e7b1136582456;hb=98c725660502dc1a761e60ac935f95ed60143021;hp=abd655ea79eef01f3eaede5ddb425879b4227af2;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/tests/defstruct.impure.lisp b/tests/defstruct.impure.lisp index abd655e..93cd7b9 100644 --- a/tests/defstruct.impure.lisp +++ b/tests/defstruct.impure.lisp @@ -216,6 +216,8 @@ ;;; debugger is having a bad day (defvar *instance*) +(declaim (optimize (debug 2))) + (defmacro test-variant (defstructname &key colontype boa-constructor-p) `(progn @@ -644,8 +646,8 @@ (catch :ok (handler-bind ((error (lambda (c) ;; Used to cause stack-exhaustion - (unless (typep c 'storege-condition) - (throw :ok))))) + (unless (typep c 'storage-condition) + (throw :ok t))))) (eval '(progn (defstruct foo a) (setf (find-class 'foo) nil) @@ -664,4 +666,3 @@ ;;; success (format t "~&/returning success~%") -(quit :unix-status 104)