X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdump.impure-cload.lisp;h=a9d77e7102ee49a9e31877ba5336ac71e8b6781a;hb=fcde5281a74cb29e21550f4f979ad6356f149ab9;hp=614e5c7b1fcec5ff36d5f468a9dd8df812f89dca;hpb=4d50265fe5a3dd4ea5b35c8ec12fe2b88721d22c;p=sbcl.git diff --git a/tests/dump.impure-cload.lisp b/tests/dump.impure-cload.lisp index 614e5c7..a9d77e7 100644 --- a/tests/dump.impure-cload.lisp +++ b/tests/dump.impure-cload.lisp @@ -28,7 +28,7 @@ (declare (type list keys)) (loop for c in '#1=("Red" "Blue" . #1#) - for key in keys )) + for key in keys)) ;;; sbcl-0.6.11.25 or so had DEF!STRUCT/MAKE-LOAD-FORM/HOST screwed up ;;; so that the compiler couldn't dump pathnames. @@ -59,4 +59,17 @@ (defparameter *path* #p"MY-LOGICAL-HOST:FOO;BAR.LISP") +;;; Non-SIMPLE-ARRAY VECTORs should be dumpable, though they can lose +;;; their complex attributes. + +(defparameter *string* #.(make-array 3 :initial-element #\a + :fill-pointer 2 + :element-type 'character)) + +;;; SBCL 0.7.8 incorrectly read high bits of (COMPLEX DOUBLE-FLOAT) +;;; components as unsigned bytes. +(defparameter *numbers* + '(-1s0 -1f0 -1d0 -1l0 + #c(-1s0 -1s0) #c(-1f0 -1f0) #c(-1d0 -1d0) #c(-1l0 -1l0))) + (sb-ext:quit :unix-status 104) ; success