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)