X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fdynamic-extent.impure.lisp;h=33c618684e6a3b6f7516eef3582a202c61558b0a;hb=da554aabb26815adee15c78dd41ced81dd7fd5d2;hp=5bdd4ad95e5225c71e224af29d8b44fb11a63565;hpb=8902b8b6bd2e9285749dd39d313b33b6c69c5213;p=sbcl.git diff --git a/tests/dynamic-extent.impure.lisp b/tests/dynamic-extent.impure.lisp index 5bdd4ad..33c6186 100644 --- a/tests/dynamic-extent.impure.lisp +++ b/tests/dynamic-extent.impure.lisp @@ -113,4 +113,19 @@ ) -(sb-ext:quit :unix-status 104) \ No newline at end of file +;;; Bugs found by Paul F. Dietz +(assert + (eq + (funcall + (compile + nil + '(lambda (a b) + (declare (optimize (speed 2) (space 0) (safety 0) + (debug 1) (compilation-speed 3))) + (let* ((v5 (cons b b))) + (declare (dynamic-extent v5)) + a))) + 'x 'y) + 'x)) + +(sb-ext:quit :unix-status 104)