X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farray.pure.lisp;h=50f998727b3a405480c6801a69279576c30703d4;hb=0677c33068646b6ec33d5f622771673f3de38504;hp=6663f062301d368df6662ad2c2cc1f4a33c5397c;hpb=f578dd10fa6d9a8d7c3d15d3100406976f6a273c;p=sbcl.git diff --git a/tests/array.pure.lisp b/tests/array.pure.lisp index 6663f06..50f9987 100644 --- a/tests/array.pure.lisp +++ b/tests/array.pure.lisp @@ -108,3 +108,11 @@ (let ((x (copy-seq #*0011)) (y (copy-seq #*0101))) (assert (equalp (bit-and x y nil) #*0001))) + +;;; arrays of NIL should work, FSVO "work". +(let ((a (make-array '(10 10) :element-type 'nil))) + (assert (= (array-total-size a) 100)) + (assert (equal (array-dimensions a) '(10 10))) + (assert (eq (array-element-type a) 'nil))) + +(assert (eq (upgraded-array-element-type 'nil) 'nil))