X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.impure.lisp;h=3c21d5f250457095c738ee4637a63c7ef051fa1b;hb=1dc3a468ba32755c51747d6e85ed32d989f2dd49;hp=1914816884c8ac7177d70fb1424104a9abcae405;hpb=ebee2761543b208483fe763b1d329d5d0014b892;p=sbcl.git diff --git a/tests/interface.impure.lisp b/tests/interface.impure.lisp index 1914816..3c21d5f 100644 --- a/tests/interface.impure.lisp +++ b/tests/interface.impure.lisp @@ -47,6 +47,12 @@ ;; it is first compiled but the result of this implicit compilation ;; is not installed.)" (assert (sb-eval:interpreted-function-p #'disassemble-eval))) + +;; nor should it fail on generic functions or other funcallable instances +(defgeneric disassemble-generic (x)) +(disassemble 'disassemble-generic) +(let ((fin (sb-mop:make-instance 'sb-mop:funcallable-standard-object))) + (disassemble fin)) ;;; support for DESCRIBE tests (defstruct to-be-described a b)