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_ref.ml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ocaml/tmp/test_ref.ml (limited to 'ocaml/tmp/test_ref.ml') diff --git a/ocaml/tmp/test_ref.ml b/ocaml/tmp/test_ref.ml new file mode 100644 index 0000000..8bff6e7 --- /dev/null +++ b/ocaml/tmp/test_ref.ml @@ -0,0 +1,7 @@ +type writer = { + buf: bytes ref; + mutable bit_pos: int; +} + +let test w = + Bytes.length !(w.buf) -- cgit v1.2.3