X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fsmoke.impure.lisp;h=a7130a7bca92ed04585341859b4f001f5c673ac0;hb=731d5dd65a7b94b5d49d1663d9b60c3a406ce38c;hp=c07bc1b9f6093e10ecb5e370af2b252be378fc8a;hpb=3d1f783a15fa74c4cb7cd7065a57ed74904eecbd;p=sbcl.git diff --git a/tests/smoke.impure.lisp b/tests/smoke.impure.lisp index c07bc1b..a7130a7 100644 --- a/tests/smoke.impure.lisp +++ b/tests/smoke.impure.lisp @@ -31,13 +31,14 @@ (assert (typep (in-package :cl-user) 'package)) ;;; PROFILE should run without obvious breakage -(defun profiled-fun () - (random 1d0)) -(profile profiled-fun) -(loop repeat 100000 do (profiled-fun)) -(report) +(progn + (defun profiled-fun () + (random 1d0)) + (profile profiled-fun) + (loop repeat 100000 do (profiled-fun)) + (report)) -;;; DEFCONSTANT should behave as the documentation specifies, +;;; Defconstant should behave as the documentation specifies, ;;; including documented condition type. (defun oidentity (x) x) (defconstant +const+ 1)