X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdefstruct.impure.lisp;h=08b27d99a133b2eb6c5f816069000a8b15b1d61b;hb=69968cef67fa95f22996c0c8784be8cae63099bb;hp=9bfc78c11f0b8b3997a84006744313d2d478dbd1;hpb=5eb98a1de601302b0e3eb0c385262fca9093fcc0;p=sbcl.git diff --git a/tests/defstruct.impure.lisp b/tests/defstruct.impure.lisp index 9bfc78c..08b27d9 100644 --- a/tests/defstruct.impure.lisp +++ b/tests/defstruct.impure.lisp @@ -1141,7 +1141,7 @@ redefinition." (let ((sb-ext:*evaluator-mode* :compile)) (handler-bind ((warning #'error)) (eval `(let () - (defstruct destruct-no-warning-not-at-toplevel bar)))))) + (defstruct defstruct-no-warning-not-at-toplevel bar)))))) (with-test (:name :bug-941102) (let ((test `((defstruct bug-941102) @@ -1153,3 +1153,8 @@ redefinition." (multiple-value-bind (warn2 fail2) (ctu:file-compile test) (assert (not warn2)) (assert (not fail2))))) + +(with-test (:name (defstruct :constant-slot-names)) + (defstruct defstruct-constant-slot-names t) + (assert (= 3 (defstruct-constant-slot-names-t + (make-defstruct-constant-slot-names :t 3)))))