let x : mut<int> = ref ("foo")

let main : int =
    while (!x >? 0) {
      x := !x - 1
    };
    !x