projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.2.7:
[sbcl.git]
/
tests
/
clos.impure.lisp
diff --git
a/tests/clos.impure.lisp
b/tests/clos.impure.lisp
index
2f8d99c
..
405a219
100644
(file)
--- a/
tests/clos.impure.lisp
+++ b/
tests/clos.impure.lisp
@@
-676,5
+676,12
@@
(let ((f (compile nil `(lambda () (make-instance ',class-name)))))
(assert (typep (funcall f) class-name))))
(let ((f (compile nil `(lambda () (make-instance ',class-name)))))
(assert (typep (funcall f) class-name))))
+;;; bug 262: DEFMETHOD failed on a generic function without a lambda
+;;; list
+(ensure-generic-function 'bug262)
+(defmethod bug262 (x y)
+ (list x y))
+(assert (equal (bug262 1 2) '(1 2)))
+
;;;; success
(sb-ext:quit :unix-status 104)
;;;; success
(sb-ext:quit :unix-status 104)