(eval-when (:compile-toplevel)
(error "ERROR within EVAL-WHEN."))
EOF
-expect_condition_during_compile sb-c:compiler-error $tmpfilename
+expect_condition_during_compile simple-error $tmpfilename
cat > $tmpfilename <<EOF
(defun slot-name-incf (s)
EOF
expect_clean_cload $tmpfilename
+cat > $tmpfilename <<EOF
+(in-package :cl-user)
+
+(defun foo ()
+ (declare (muffle-conditions warning))
+ (let ((em 0d0))
+ (declare (type double-float em))
+ (dotimes (i 42)
+ (setf em (float (1+ i))))))
+EOF
+expect_clean_compile $tmpfilename
+
# success
exit $EXIT_TEST_WIN