X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=a37c1f66986ecb56dc8c71e1f4547bd1e236c3ef;hb=df679ed627975948b1cee190f4d79c397588c43e;hp=8ae4a045badcb703e72db8661aea7ae45c716d4a;hpb=ad613f03c3e077e63ae871a4e1967ac57a4c59c9;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 8ae4a04..a37c1f6 100644 --- a/tests/interface.pure.lisp +++ b/tests/interface.pure.lisp @@ -33,3 +33,17 @@ (describe #0a0) (describe #(1 2 3)) (describe #2a((1 2) (3 4))) + +;;; TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and +;;; UPGRADED-COMPLEX-PART-TYPE should be able to deal with NIL as an +;;; environment argument +(typep 1 'fixnum nil) +(subtypep 'fixnum 'integer nil) +(upgraded-array-element-type '(mod 5) nil) +(upgraded-complex-part-type '(single-float 0.0 1.0) nil) + +;;; We should have documentation for our extension package: +(assert (documentation (find-package "SB-EXT") t)) + +;;; DECLARE should not be a special operator +(assert (not (special-operator-p 'declare)))