X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fhash.impure.lisp;fp=tests%2Fhash.impure.lisp;h=dfbb9c4ff4227ac360f1cf9110753ab23c622be5;hb=59ac7389b0bead82dfe2c94a5edab79dc9569c61;hp=ee9e538da51053ad251317b636572b06aca930b2;hpb=8375acd89ba695e2fc838fffd5211a5ddf9c3b0d;p=sbcl.git diff --git a/tests/hash.impure.lisp b/tests/hash.impure.lisp index ee9e538..dfbb9c4 100644 --- a/tests/hash.impure.lisp +++ b/tests/hash.impure.lisp @@ -241,7 +241,8 @@ ;;; NIL is both SYMBOL and LIST (dolist (fun '(sxhash sb-impl::psxhash)) - (assert (= (funcall fun nil) + (assert (= (eval `(,fun nil)) + (funcall fun nil) (funcall (compile nil `(lambda (x) (declare (symbol x)) (,fun x))) @@ -249,6 +250,10 @@ (funcall (compile nil `(lambda (x) (declare (list x)) (,fun x))) + nil) + (funcall (compile nil `(lambda (x) + (declare (null x)) + (,fun x))) nil)))) ;;; success