X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=841bf9a757877cacaded84c39ea2c0094c161310;hb=a0a413499415738d23cc40baa44e9c404af54a94;hp=3918eaba46489ba9de9c594785aacb39d280f682;hpb=05525d3a5906d7a89fcb689c26177732493c40ce;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index 3918eab..841bf9a 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -391,3 +391,14 @@ (assert (typep (eval `(the arithmetic-error ',(make-condition 'arithmetic-error))) 'arithmetic-error)) + +(assert (not (nth-value + 2 (compile nil '(lambda () + (make-array nil :initial-element 11)))))) + +(assert (raises-error? (funcall (eval #'open) "assertoid.lisp" + :external-format '#:nonsense))) +(assert (raises-error? (funcall (eval #'load) "assertoid.lisp" + :external-format '#:nonsense))) + +(assert (= (the (values integer symbol) (values 1 'foo 13)) 1))