bldc/tests/test_atomic_4.lisp

8 lines
207 B
Common Lisp

(define foo (lambda ()
(atomic (progn (+ 1 2 3)
(+ 1 2 4))
(progn (+ 2 4 8)
(+ 3 6 12)))))
(check (= (foo) 21))