X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=a37c1f66986ecb56dc8c71e1f4547bd1e236c3ef;hb=50f728671defadb8f7b1e8691c984cb0e6aba17c;hp=b3f8949ac87ab6d54712e207d2cbbaac86769712;hpb=66187cb2c39eb11c33451c64d90a644961fd0b46;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index b3f8949..a37c1f6 100644 --- a/tests/interface.pure.lisp +++ b/tests/interface.pure.lisp @@ -27,3 +27,23 @@ (assert (< 0 (length (apropos-list "PRINT" :cl)) (length (apropos-list "PRINT")))) + +;;; DESCRIBE shouldn't fail on rank-0 arrays (bug reported and fixed +;;; by Lutz Euler sbcl-devel 2002-12-03) +(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)))