Files
jak-project/test/old_goal_tests/tests/test-nested-function-call-2.gc
T
2020-08-22 22:32:18 -04:00

24 lines
396 B
Common Lisp

;-*-Scheme-*-
(test-setup 10 #f)
;; by putting some more functions, we make sure that branches in functions
;; in later functions actually are using the right stuff
(defun first-function ((a integer))
(+ a 2)
(+ a 3)
(+ a 4)
(+ a 6)
(+ a 10)
)
(defun second-function ((b integer))
(if (> 2 b)
0
10
)
)
(second-function (second-function (second-function 3)))