projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Plug a CTYPE leak into fasls via SETQ
[sbcl.git]
/
tests
/
compiler.test.sh
diff --git
a/tests/compiler.test.sh
b/tests/compiler.test.sh
index
0230c0c
..
39098a7
100644
(file)
--- a/
tests/compiler.test.sh
+++ b/
tests/compiler.test.sh
@@
-460,7
+460,7
@@
cat > $tmpfilename <<EOF
(eval-when (:compile-toplevel)
(error "ERROR within EVAL-WHEN."))
EOF
(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)
cat > $tmpfilename <<EOF
(defun slot-name-incf (s)
@@
-469,5
+469,17
@@
cat > $tmpfilename <<EOF
EOF
expect_clean_cload $tmpfilename
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
# success
exit $EXIT_TEST_WIN