jak-project/test/old_goal_tests/tests/test-mod.gc
2020-08-22 22:32:18 -04:00

15 lines
291 B
Scheme

;-*-Scheme-*-
(test-setup 7 #f)
;; this computes nothing that we can check, but verifies that the coloring
;; doesn't do something crazy when constrained a little strangely
(rlet ((x :reg rsp :type int64))
(mod x 2)
(mod 2 x)
)
(let ((x 33))
(+ (mod x 10) 4)
)