X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fbackq.impure.lisp;h=65583f593c72300d99ea1bea84abf5bba09c8875;hb=7c7e6276719b8d40fddec2070cad81064a25c8ed;hp=a9be79beb6e2bcc1dfb7786ba10411a048dfa665;hpb=ed7ba4dad8a79726fdfeba5aa12e276ea852c540;p=sbcl.git diff --git a/tests/backq.impure.lisp b/tests/backq.impure.lisp index a9be79b..65583f5 100644 --- a/tests/backq.impure.lisp +++ b/tests/backq.impure.lisp @@ -55,5 +55,12 @@ (test-double-backquote (car test) (cdr test))) *backquote-tests*) +(let ((string "`(foobar a b ,c ,'(e f g) d ,@'(e f g) (h i j) ,@foo)")) + (assert (equal (print (read-from-string string)) (read-from-string string)))) + +(let ((a '`(1 ,@a ,@b ,.c ,.d))) + (let ((*print-circle* t)) + (assert (equal (read-from-string (write-to-string a)) a)))) + ;;; success (quit :unix-status 104)