1.0.35.19: fix SB-EXT:GENERATION-* accessors for generation > 0
[sbcl.git] / tests / pprint.impure.lisp
index bf85bcf..2a98b0b 100644 (file)
   (with-open-stream (null (make-broadcast-stream))
     (pprint '(defpackage :foo nil))
     (pprint '(defpackage :foo 42))))
+
+(with-test (:name :standard-pprint-dispatch-modified)
+  (assert
+   (eq :error
+       (handler-case (with-standard-io-syntax
+                       (set-pprint-dispatch 'symbol (constantly nil))
+                       :no-error)
+         (sb-int:standard-pprint-dispatch-table-modified-error ()
+           :error)))))
 \f
 ;;; success