jak-project/goal_src/test/test-return-from-f.gc
water111 cee6c21603
Add basic features for types and objects (#52)
* started adding simple functions in gcommon

* more tests and features

* more tests, debug windows

* debug prints for windows

* back up some regs for windows

* remove debugging prints
2020-09-19 13:22:14 -04:00

14 lines
256 B
Common Lisp

(defun test-function-3 ((x int))
(while (> x 20)
(set! x (- x 1))
;;(format #t " x is now ~d~%" x)
(if (> 30 x)
(return-from #f 77)
)
)
987
)
(let ((result (test-function-3 64)))
result
)