X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ftype.before-xc.lisp;h=90d8f1df8a9771db63fbd2a22442b571e3af3159;hb=69ef68ba7393e3492c1b4a756d1140f71c2922bc;hp=5b03e452efa3c80925df133f9abb47798f3750f7;hpb=07111ea2a4131f731f5ac23e79cb3d715970a92e;p=sbcl.git diff --git a/tests/type.before-xc.lisp b/tests/type.before-xc.lisp index 5b03e45..90d8f1d 100644 --- a/tests/type.before-xc.lisp +++ b/tests/type.before-xc.lisp @@ -209,4 +209,11 @@ (specifier-type '(or (single-float -1.0 1.0) (single-float 0.1)))))) +(assert (sb-xc:typep #\, 'character)) +(assert (sb-xc:typep #\@ 'character)) + +(assert (type= (type-intersection (specifier-type '(member #\a #\c #\e)) + (specifier-type '(member #\b #\c #\f))) + (specifier-type '(member #\c)))) + (/show "done with tests/type.before-xc.lisp")