From c4b71435d9afdb67450f320f54fb7aa99dcae85e Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 5 Oct 2025 22:57:55 +0700 Subject: fixed jamcue --- ocaml/tmp/test_prec.ml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ocaml/tmp/test_prec.ml (limited to 'ocaml/tmp/test_prec.ml') diff --git a/ocaml/tmp/test_prec.ml b/ocaml/tmp/test_prec.ml new file mode 100644 index 0000000..2a9134c --- /dev/null +++ b/ocaml/tmp/test_prec.ml @@ -0,0 +1,5 @@ +type t = { x : int ref } +let r = { x = ref 42 } +let test () = + let y = !(r.x) in + y -- cgit v1.2.3