X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.impure.lisp;h=98837d102c58a2a8f126023c16b651ec797fec2f;hb=96b310113978665980a8d65ad5dd83deab05c28b;hp=d9ea3fbe3e5e2c48b90631b343220785775a6584;hpb=3c76429562383ac91cec4880b7b86234362e1ed4;p=sbcl.git diff --git a/tests/compiler.impure.lisp b/tests/compiler.impure.lisp index d9ea3fb..98837d1 100644 --- a/tests/compiler.impure.lisp +++ b/tests/compiler.impure.lisp @@ -420,6 +420,12 @@ BUG 48c, not yet fixed: (ignore-errors (bug110 0)) (declare (ignore result)) (assert (typep condition 'type-error))) + +;;; bug 202: the compiler failed to compile a function, which derived +;;; type contradicted declared. +(declaim (ftype (function () null) bug202)) +(defun bug202 () + t) ;;;; tests not in the problem domain, but of the consistency of the ;;;; compiler machinery itself