X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=cc83e6ab7ebda8d28f2438ab10a7717e426b2e3d;hb=15d6e7c9a2c3234f95dfe278046fa2fee1b0c007;hp=227ab077c7ef2ca8e2de9c615ee906e54f0d9081;hpb=020de3c04699323437f0c746fe986506b716ab97;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 227ab07..cc83e6a 100644 --- a/tests/interface.pure.lisp +++ b/tests/interface.pure.lisp @@ -128,3 +128,13 @@ (test (* 86400 365) -1/3600 (1 0 0 1 1 1901 1 -1/3600)) (test (* 86400 365) 0 (0 0 0 1 1 1901 1 0)) (test (* 86400 365) 1/3600 (59 59 23 31 12 1900 0 1/3600))) + +;;; DISASSEMBLE shouldn't fail on purified functions +(disassemble 'cl:+) +(disassemble 'sb-ext:run-program) + +;;; minimal test of GC: see stress-gc.{sh,lisp} for a more +;;; comprehensive test. +(loop repeat 2 + do (compile nil '(lambda (x) x)) + do (sb-ext:gc :full t))