X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=b1b913cf75049e4038f09ffc19491e58d1332f39;hb=f1407e424f1063203af07d2e61ceef58515a4797;hp=3918eaba46489ba9de9c594785aacb39d280f682;hpb=efb7317381c54e1a28f6c1c179a4fb8d58fdc7eb;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index 3918eab..b1b913c 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -391,3 +391,12 @@ (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)))