X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farray.pure.lisp;h=098cd0ed0c7ae557f3b0a965f729506bb339045e;hb=0573ba54479d1d65e2c8a14daffd2976e249bf40;hp=3eafab5c90ac0c93edddb8e7a55f0f6cf56c8214;hpb=02b6f6dfb38d99bcc3181035eb0681e6bb96b939;p=sbcl.git diff --git a/tests/array.pure.lisp b/tests/array.pure.lisp index 3eafab5..098cd0e 100644 --- a/tests/array.pure.lisp +++ b/tests/array.pure.lisp @@ -155,3 +155,7 @@ (setf (aref a 2) #\c) a))))) (assert (= (length (funcall f)) 4))) + +(let ((x (make-array nil :initial-element 'foo))) + (adjust-array x nil) + (assert (eql (aref x) 'foo)))