1.0.40.1: fix return value of WRITE
[sbcl.git] / tests / print.impure.lisp
index 70f7872..37e5936 100644 (file)
                   (read-from-string
                    (write-to-string *random-state*)))))
 
+(with-test (:name :write-return-value)
+  (assert (= 123 (funcall (compile nil (lambda ()
+                                         (write 123)))))))
+
 ;;; success