0.8.9.16:
[sbcl.git] / tests / compiler.pure.lisp
index 41d58f4..09457e9 100644 (file)
                               (type (unsigned-byte 32) i))
                      (deref a i))))
   (compiler-note () (error "The code is not optimized.")))
+
+(handler-case
+    (compile nil '(lambda (x)
+                  (declare (type (integer -100 100) x))
+                  (declare (optimize speed))
+                  (declare (notinline identity))
+                  (1+ (identity x))))
+  (compiler-note () (error "IDENTITY derive-type not applied.")))