X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fprint.impure.lisp;h=9b4f13d3d94aded4112140ad40b18f3bbb911d28;hb=3120740c3569735b00123b94b61679f56e253ea6;hp=c773e76e17453c4de959bf8b59ddb7b108eefe28;hpb=06fbb54c129639135c270025ef8c3303fe9a026b;p=sbcl.git diff --git a/tests/print.impure.lisp b/tests/print.impure.lisp index c773e76..9b4f13d 100644 --- a/tests/print.impure.lisp +++ b/tests/print.impure.lisp @@ -501,4 +501,12 @@ (write-to-string *print-length* :length nil)))))) (assert (equal "42" (funcall test))))) +(with-test (:name (:format :compile-literal-dest-string)) + (assert (eq :warned + (handler-case + (compile nil + `(lambda (x) (format "~A" x))) + ((and warning (not style-warning)) () + :warned))))) + ;;; success