X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdeftype.impure.lisp;h=c2602648f86c6d3840368fcd822d766b4c4c23e8;hb=faba0f9a5c990ea378e53f995acf9cdf3258c412;hp=ee43d3bc5cf906144e73d72a722bf36038ffa091;hpb=9d40fd46df9f542c2271d939002400aafb0c9c30;p=sbcl.git diff --git a/tests/deftype.impure.lisp b/tests/deftype.impure.lisp index ee43d3b..c260264 100644 --- a/tests/deftype.impure.lisp +++ b/tests/deftype.impure.lisp @@ -44,3 +44,8 @@ (assert (equal '(x) (sb-int:info :type :lambda-list 'bar))) (defclass bar () ()) (assert (not (sb-int:info :type :lambda-list 'bar))) + +;; Need to work with plain symbols as the body. +(defconstant whatever 't) +(deftype anything () whatever) +(assert (typep 42 'anything))