projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.1.47
[sbcl.git]
/
tests
/
smoke.impure.lisp
diff --git
a/tests/smoke.impure.lisp
b/tests/smoke.impure.lisp
index
c07bc1b
..
a7130a7
100644
(file)
--- 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
(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)
;;; including documented condition type.
(defun oidentity (x) x)
(defconstant +const+ 1)