X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fpprint.impure.lisp;h=bf85bcf833b17b3e5114b358da25380650b5a15c;hb=c589b9363d23ec9133e5396adaf4240cb0a8bd18;hp=9c6fceef989b2997094fc9057d778b0ebd5a7447;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/tests/pprint.impure.lisp b/tests/pprint.impure.lisp index 9c6fcee..bf85bcf 100644 --- a/tests/pprint.impure.lisp +++ b/tests/pprint.impure.lisp @@ -200,6 +200,11 @@ (assert (string= "#1=(#2=(#2# . #3=(#1# . #3#)))" (with-output-to-string (s) (write '#1=(#2=(#2# . #3=(#1# . #3#))) :stream s))))) + +;;; Printing malformed defpackage forms without errors. +(with-test (:name :pprint-defpackage) + (with-open-stream (null (make-broadcast-stream)) + (pprint '(defpackage :foo nil)) + (pprint '(defpackage :foo 42)))) ;;; success -(quit :unix-status 104)