X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.impure.lisp;h=ad10e6dfba381dbb6681afe52965f2959809dfd6;hb=1540c1c1d517c58fa9a41629beb65cdce7dfafb6;hp=52b5fc2f32582df482006f10a55db28cf49cbbed;hpb=e345436f0efaca2c0ba6be2c30ce6b5a3dae3836;p=sbcl.git diff --git a/tests/interface.impure.lisp b/tests/interface.impure.lisp index 52b5fc2..ad10e6d 100644 --- a/tests/interface.impure.lisp +++ b/tests/interface.impure.lisp @@ -310,5 +310,14 @@ (equal (documentation 'test 'function) (documentation 'test2 'function))))) +(with-test (:name :setf-documentation-on-nil) + (assert + (handler-case + (assert (equal (setf (documentation nil 'function) "foo") "foo")) + (style-warning () t) + (:no-error (x) + (declare (ignore x)) + nil)))) + ;;;; success