X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fclos.pure.lisp;h=aec18503fa2688ed2502f070effe5ce8ea49a863;hb=975f1932acc3a8e90fb31d2b055bfbdde78ea927;hp=803b48a674768239a97336d5e7145436aa6aacc1;hpb=f19ae86fb2c16ebb4dce3d16cc1bb32e94f07110;p=sbcl.git diff --git a/tests/clos.pure.lisp b/tests/clos.pure.lisp index 803b48a..aec1850 100644 --- a/tests/clos.pure.lisp +++ b/tests/clos.pure.lisp @@ -71,3 +71,13 @@ (when (and std (< std last)) (push `(:std ,c) result)))))) (assert (null result)))) + +;; No compiler-notes for non-constant slot-names in default policy. +(handler-case + (compile nil '(lambda (x y z) + (setf (slot-value x z) + (slot-value y z)))) + (sb-ext:compiler-note (e) + (error e))) + +