1.0.23.64: fixed bug 395
[sbcl.git] / tests / compiler.pure.lisp
index 16eeee4..381bb2f 100644 (file)
 (with-test (:name :late-bound-primitive)
   (compile nil `(lambda ()
                   (funcall 'cons 1))))
+
+(with-test (:name :hairy-array-element-type-derivation)
+  (compile nil '(lambda (x)
+                 (declare (type (and simple-string (satisfies array-has-fill-pointer-p)) x))
+                 (array-element-type x))))