Files
jak-project/test/goalc/source_templates/functions/inline-with-block-1.static.gc
T
2020-11-22 20:10:33 -05:00

11 lines
245 B
Common Lisp

; this is testing that return-from's work correctly inside of inlined functions.
(defun inline-with-block-1 ()
(declare (inline))
(if (= 123 (block my-block 1 (return-from my-block 123) 2))
1
0
)
)
(inline-with-block-1)