1.0.36.21: stricter handling of invalid backquote expressions
[sbcl.git] / tests / reader.pure.lisp
index a127d31..f0ba954 100644 (file)
   (multiple-value-bind (reader-fn non-terminating-p)
       (get-macro-character #\" (copy-readtable nil))
     (declare (ignore reader-fn))
-    (assert (not non-terminating-p))))
\ No newline at end of file
+    (assert (not non-terminating-p))))
+
+(with-test (:name :bug-309093)
+  (assert (eq :error
+              (handler-case
+                  (read-from-string "`#2A((,(1+ 0) 0) (0 0))")
+                (reader-error ()
+                  :error)))))