X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fclos.impure-cload.lisp;h=d5d8c30798f992a7fad316b00c2063e9ade7bb20;hb=4afcad784283623d52b8723c1706b53d784c3053;hp=2353a747667c50726fa7f4aa17656360eddeff25;hpb=0aecc2b20142e08068c3434273500131cb13fe2d;p=sbcl.git diff --git a/tests/clos.impure-cload.lisp b/tests/clos.impure-cload.lisp index 2353a74..d5d8c30 100644 --- a/tests/clos.impure-cload.lisp +++ b/tests/clos.impure-cload.lisp @@ -177,3 +177,10 @@ (assert (typep (ctor-literal-class) 'ctor-literal-class))) (with-test (:name (:ctor :literal-class-quoted)) (assert (typep (ctor-literal-class2) 'ctor-literal-class2))) + +;;; test that call-next-method and eval-when doesn't cause an +;;; undumpable method object to arise in the effective source code. +;;; (from Sascha Wilde sbcl-devel 2007-07-15) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defmethod just-call-next-method (thing) + (call-next-method)))