summaryrefslogtreecommitdiff
path: root/ocaml/tmp/test_prec.ml
blob: 2a9134c3baf18c04471677c070455842f50e85bf (plain)
1
2
3
4
5
type t = { x : int ref }
let r = { x = ref 42 }
let test () =
  let y = !(r.x) in
  y