projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.29.13: relax CAST-EXTERNALLY-CHECKABLE-P a bit
[sbcl.git]
/
tests
/
compiler.test.sh
diff --git
a/tests/compiler.test.sh
b/tests/compiler.test.sh
index
5679935
..
6a816df
100644
(file)
--- a/
tests/compiler.test.sh
+++ b/
tests/compiler.test.sh
@@
-348,6
+348,13
@@
EOF
expect_failed_compile $tmpfilename
cat > $tmpfilename <<EOF
expect_failed_compile $tmpfilename
cat > $tmpfilename <<EOF
+x
+y
+z
+EOF
+expect_failed_compile $tmpfilename
+
+cat > $tmpfilename <<EOF
(declaim (optimize (speed 3) (space 0) (safety 0)))
(defun foo (bar)
(declaim (optimize (speed 3) (space 0) (safety 0)))
(defun foo (bar)
@@
-391,5
+398,12
@@
cat > $tmpfilename <<EOF
EOF
expect_clean_cload $tmpfilename
EOF
expect_clean_cload $tmpfilename
+cat > $tmpfilename <<EOF
+(and (eval-when (:compile-toplevel) (error "oops AND")))
+(or (eval-when (:compile-toplevel) (error "oops OR")))
+(cond (t (eval-when (:compile-toplevel) (error "oops COND"))))
+EOF
+expect_clean_cload $tmpfilename
+
# success
exit $EXIT_TEST_WIN
# success
exit $EXIT_TEST_WIN