0.pre8.16:
[sbcl.git] / tests / reader.impure.lisp
index 214ca6f..c3c8f4e 100644 (file)
   (assert (eq (value res) res))
   (assert (= pos 8)))
 
+;;; CSR managed to break the #S reader macro in the process of merging
+;;; SB-PCL:CLASS and CL:CLASS -- make sure it works
+(defstruct readable-struct a)
+(assert (eq (readable-struct-a
+            (read-from-string "#S(READABLE-STRUCT :A T)"))
+           t))
+
 ;;; success
 (quit :unix-status 104)