2
;;;; Author: Paul Dietz
3
;;;; Created: Sat Oct 19 09:21:57 2002
4
;;;; Contains: Tests of PROG
21
(prog () (return (values 1 2 3 4 5)))
27
(declare (type symbol x y))
28
(return (values x y))))
33
(prog (x) (setq x 'b))
39
(declare (type fixnum i s))
41
(when (> i 10) (return s))
49
(prog ((y (incf x)) (z (incf x)))
50
(return (values x y z))))
54
(flet ((%f () (locally (declare (special z)) z)))
74
(def-macro-test prog.error.1 (prog nil))
87
(prog* () (return 'a))
91
(prog* () (return (values 1 2 3 4 5)))
96
(prog* ((z x) (x 'b) (y x))
97
(declare (type symbol x y))
98
(return (values x y z))))
103
(prog* (x) (setq x 'b))
109
(declare (type fixnum i s))
111
(when (> i 10) (return s))
119
(prog* ((y (incf x)) (z (incf x)))
120
(return (values x y z))))
124
(flet ((%f () (locally (declare (special z)) z)))
126
(declare (special z))
144
(def-macro-test prog*.error.1 (prog* nil))