projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
partially rewrite accessor-values-internal
[sbcl.git]
/
tests
/
mop.impure.lisp
diff --git
a/tests/mop.impure.lisp
b/tests/mop.impure.lisp
index
215280a
..
01b2796
100644
(file)
--- a/
tests/mop.impure.lisp
+++ b/
tests/mop.impure.lisp
@@
-684,5
+684,10
@@
(lambda (y) nil)
#'definitely-a-funcallable-instance)
type-error)))
(lambda (y) nil)
#'definitely-a-funcallable-instance)
type-error)))
+
+(with-test (:name (defstruct :nil-slot-name :bug-633911))
+ (defstruct nil-slot-name nil)
+ (let ((fun (compile nil '(lambda (x) (slot-value x 'nil)))))
+ (assert (= 3 (funcall fun (make-nil-slot-name :nil 3))))))
\f
;;;; success
\f
;;;; success