X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.impure.lisp;h=513ca2cbd0658061820c9c04c7797ba5049aa31b;hb=deac413eadea2935f356eebfc8f6b01b6367d260;hp=99ba834b375739c932477a0540ea6fa960d86975;hpb=5942a7715baa1f664f843c05192b7f0a3974abd5;p=sbcl.git diff --git a/tests/compiler.impure.lisp b/tests/compiler.impure.lisp index 99ba834..513ca2c 100644 --- a/tests/compiler.impure.lisp +++ b/tests/compiler.impure.lisp @@ -1193,6 +1193,10 @@ (eval '(defstruct bug-542807 slot))) (assert (= 1 (length conds))) (assert (typep (car conds) 'sb-kernel::redefinition-with-defun)))) + +(with-test (:name :defmacro-not-list-lambda-list) + (assert (raises-error? (eval `(defmacro ,(gensym) "foo")) + type-error))) ;;;; tests not in the problem domain, but of the consistency of the ;;;; compiler machinery itself