1.0.45.17: give CONSTANTLY some love
[sbcl.git] / tests / compiler.pure.lisp
index 37bf669..0cd2fac 100644 (file)
                             (foo z args)))
                      (declare (sb-int:truly-dynamic-extent #'foo))
                      (call #'foo nil))))))
+
+(with-test (:name :bug-713626)
+  (let ((f (eval '(constantly 42))))
+    (handler-bind ((warning #'error))
+      (assert (= 42 (funcall (compile nil `(lambda () (funcall ,f 1 2 3)))))))))