1.0.30.33: failed aver in %ALLOCATE-CLOSURES IR2 conversion
[sbcl.git] / tests / compiler.pure.lisp
index c49d8c4..60289eb 100644 (file)
                      `(lambda ()
                         (flet ((k (&rest x) (declare (ignore x)) 0))
                           (multiple-value-call #'k #'k))))))))
+
+(with-test (:name :allocate-closures-failing-aver)
+  (let ((f (compile nil `(lambda ()
+                           (labels ((k (&optional x) #'k)))))))
+    (assert (null (funcall f)))))