X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcondition.impure.lisp;h=9475f9abe353aee1b75862c344b68509d342ea0e;hb=dc2b10f2cc464b6d0003c3adc4541c3895eebbd5;hp=b66ed3f76372148db434f2d6a8936e3e98973016;hpb=f37fd916aae6ecbb7341c1385c7113608b7816a5;p=sbcl.git diff --git a/tests/condition.impure.lisp b/tests/condition.impure.lisp index b66ed3f..9475f9a 100644 --- a/tests/condition.impure.lisp +++ b/tests/condition.impure.lisp @@ -135,3 +135,9 @@ ((slot :initarg :slot :reader ,reader)) (:report (lambda (c stream) (format stream "Oops: ~S" (,reader c)))))))))) + +(with-test (:name :define-condition-result) + (let ((name (gensym "CONDITION"))) + (assert + (eq (eval `(define-condition ,name () ())) + name))))