projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Defer some sanity checks to after testing for value refence to inline functions
[sbcl.git]
/
tests
/
setf.impure.lisp
diff --git
a/tests/setf.impure.lisp
b/tests/setf.impure.lisp
index
b34349a
..
b6b7d2f
100644
(file)
--- a/
tests/setf.impure.lisp
+++ b/
tests/setf.impure.lisp
@@
-107,4
+107,11
@@
(error ()
:error)))))
+(with-test (:name :getf-unused-default-variable)
+ (handler-bind ((style-warning #'error))
+ (compile nil `(lambda (x y)
+ (setf (gethash :x x 0) 4)
+ (setf (getf y :y 0) 4)
+ (setf (get 'z :z 0) 4)))))
+
;;; success