projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stricter handling of declarations in DEFGENERIC
[sbcl.git]
/
tests
/
clos.impure.lisp
diff --git
a/tests/clos.impure.lisp
b/tests/clos.impure.lisp
index
cf876d9
..
1e383cd
100644
(file)
--- a/
tests/clos.impure.lisp
+++ b/
tests/clos.impure.lisp
@@
-1901,4
+1901,14
@@
(sb-pcl::generic-function-pretty-arglist
#'generic-function-pretty-arglist-optional-and-key)))))
(sb-pcl::generic-function-pretty-arglist
#'generic-function-pretty-arglist-optional-and-key)))))
+(with-test (:name :bug-894202)
+ (assert (eq :good
+ (handler-case
+ (let ((name (gensym "FOO"))
+ (decl (gensym "BAR")))
+ (eval `(defgeneric ,name ()
+ (declare (,decl)))))
+ (warning ()
+ :good)))))
+
;;;; success
;;;; success