(module main)

(fn add_one_in_unsafe ((value i32)) -> i32
  (unsafe
    (let one i32 1)
    (+ value one)))

(test "unsafe block returns final value"
  (= (add_one_in_unsafe 4) 5))

(test "unsafe block can return bool"
  (unsafe
    (= (add_one_in_unsafe 1) 2)))

(fn main () -> i32
  (add_one_in_unsafe 41))
