X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farray.pure.lisp;h=442358e2873163d9b07f4b9774f7d313c22a3963;hb=bcd323c39d6f5f80020ba4a5d9eb8d348c6cc499;hp=4c605ed692b639108c784e76d40d81223986b271;hpb=a0238f83af553a3ff662824fc73aca3ba01112f6;p=sbcl.git diff --git a/tests/array.pure.lisp b/tests/array.pure.lisp index 4c605ed..442358e 100644 --- a/tests/array.pure.lisp +++ b/tests/array.pure.lisp @@ -277,3 +277,14 @@ (eql 6 (type-error-datum e))) :good)))))) +(with-test (:name :odd-keys-for-make-array) + (assert (eq :good + (handler-case + (compile nil '(lambda (m) (make-array m 1))) + (simple-warning () :good))))) + + +(with-test (:name :bug-1096359) + (let ((a (make-array 1 :initial-element 5))) + (assert (equalp (adjust-array a 2 :initial-element 10) + #(5 10)))))