Files
jak-project/test/goalc/source_templates/control-statements/inline-with-block-1.static.gc
T
water111 27f0a7ca44 [Decompiler] Begin expression conversion, rearrange tests (#209)
* refactor tests and analysis passes

* identity test working

* combine test categories with only a few cases

* more fixes
2021-01-23 16:32:56 -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)