X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fseq.impure.lisp;h=ef705266ebf4824b30eeb8d067dcf146ab08d23d;hb=96b310113978665980a8d65ad5dd83deab05c28b;hp=1339374c28ad930d4b921bf95a4c6ecdd2effaab;hpb=0f726536ee7ec85f3a9483a26d08bd7d1cd96750;p=sbcl.git diff --git a/tests/seq.impure.lisp b/tests/seq.impure.lisp index 1339374..ef70526 100644 --- a/tests/seq.impure.lisp +++ b/tests/seq.impure.lisp @@ -196,7 +196,16 @@ ;; physical ARRAY-DIMENSION 0. ;; ;; fixed in sbcl-0.7.4.22 by WHN - (assert (null (ignore-errors (subseq avec 1 5))))) + (assert (null (ignore-errors (aref (subseq avec 1 5) 0))))) + +;;; FILL +(defun test-fill-typecheck (x) + (declare (optimize (safety 3) (space 2) (speed 1))) + (fill (make-string 10) x)) + +(assert (string= (test-fill-typecheck #\@) "@@@@@@@@@@")) +;;; BUG 186, fixed in sbcl-0.7.5.5 +(assert (null (ignore-errors (test-fill-typecheck 4097)))) ;;; success (quit :unix-status 104)