X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=a7fd779e3af1ecee6e97bc342d51c9416fb54271;hb=fd79e33e6b6dacdc52cf6668a5bb7adf75aad6c1;hp=db2bfc494ab3ccecd7d58f9ee42b2d1fa2fa5ca8;hpb=7f9f1fd113d7047731bda9dab2c7719cdf092a21;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index db2bfc4..a7fd779 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -2917,3 +2917,9 @@ :initial-element x))) 10 #c(1.0 2.0))))) + +(with-test (:name :regression-1.0.28.21) + (let ((fun (compile nil `(lambda (x) (typep x '(simple-array * 1)))))) + (assert (funcall fun (vector 1 2 3))) + (assert (funcall fun "abc")) + (assert (not (funcall fun (make-array '(2 2)))))))