X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Funwind-to-frame-and-call.impure.lisp;h=9da24b6aa63f915a8e25eae68348784826b2f0fd;hb=0a15b6bbf9d5d3a64b5ac08bb96b6e5ec221d2ae;hp=a65e3ae9e73c71d8195b1a3c968682de4e9f855f;hpb=578d987735906eb05829f0c2235a3ba9225c2bc4;p=sbcl.git diff --git a/tests/unwind-to-frame-and-call.impure.lisp b/tests/unwind-to-frame-and-call.impure.lisp index a65e3ae..9da24b6 100644 --- a/tests/unwind-to-frame-and-call.impure.lisp +++ b/tests/unwind-to-frame-and-call.impure.lisp @@ -309,3 +309,24 @@ (test-unwind 'unwind-1 '(:unwind-1)) (test-unwind 'unwind-2 '(:unwind-2 :unwind-1)) + +;;; Regression in 1.0.10.47 reported by James Knight + +(defun inner1 (tla) + (zerop tla)) + +(declaim (inline inline-fun)) +(defun inline-fun (tla) + (or (inner1 tla) + (inner1 tla))) + +(defun foo (predicate) + (funcall predicate 2)) + +(defun test () + (let ((blah (foo #'inline-fun))) + (inline-fun 3))) + +(with-test (:name (:debug-instrumentation :inline/xep)) + (test)) +