1.0.24.34: IR2: additional representation for predicates, conditional moves
[sbcl.git] / tests / compiler.pure.lisp
index e913df3..7dcc183 100644 (file)
                nil)
     (assert (eq 'list type))
     (assert derivedp)))
+
+(with-test (:name :base-char-typep-elimination)
+  (assert (eq (funcall (lambda (ch)
+                         (declare (type base-char ch) (optimize (speed 3) (safety 0)))
+                         (typep ch 'base-char))
+                       t)
+              t)))