X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcharacter.pure.lisp;h=95c583362053d863b5075c2cb3c8fb23c3cd9057;hb=db0110475c0db5dc3cb1bb12de0b0c475880899e;hp=015d347585b7538d165aaa130877df29c067fb04;hpb=97698cd441721fbd216f0294606d144de8865b4c;p=sbcl.git diff --git a/tests/character.pure.lisp b/tests/character.pure.lisp index 015d347..95c5833 100644 --- a/tests/character.pure.lisp +++ b/tests/character.pure.lisp @@ -118,3 +118,11 @@ (assert-coercion (code-char 955) character) (assert-coercion 'a character) (assert-coercion "a" character))) + +(with-test (:name :bug-994487) + (let ((f (compile nil `(lambda (char) + (code-char (1+ (char-code char))))))) + (assert (equal `(function (t) (values (sb-kernel:character-set + ((1 . ,(1- char-code-limit)))) + &optional)) + (sb-impl::%fun-type f)))))