X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fprint.impure.lisp;h=02958ffb6f722859b8115146a9c0a1e08a18cb54;hb=e9618f8ea11045b8616a49338966eac44d9c92e6;hp=e3a19e067456c3d63efea298a914d80e16e4da4c;hpb=99bcb3a92b44ce343586f8bd7c717d665f31f4ad;p=sbcl.git diff --git a/tests/print.impure.lisp b/tests/print.impure.lisp index e3a19e0..02958ff 100644 --- a/tests/print.impure.lisp +++ b/tests/print.impure.lisp @@ -26,5 +26,18 @@ long-float-positive-infinity long-float-negative-infinity)) (assert-output x)) +;;; Eric Marsden reported that this would blow up in CMU CL (even +;;; though ANSI says that the mismatch between ~F expected type and +;;; provided string type is supposed to be handled without signalling +;;; an error) and provided a fix which was ported to sbcl-0.6.12.35. +(assert (null (format t "~F" "foo"))) + +;;; This was a bug in SBCL until 0.6.12.40 (originally reported as a +;;; CMU CL bug by Erik Naggum on comp.lang.lisp). +(loop for *print-base* from 2 to 36 + with *print-radix* = t + do + (assert (string= "#*101" (format nil "~S" #*101)))) + ;;; success (quit :unix-status 104)