summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml')
-rw-r--r--ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml13
1 files changed, 13 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml
new file mode 100644
index 0000000000..71516606b6
--- /dev/null
+++ b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t040-makeblock1.ml
@@ -0,0 +1,13 @@
+type t = {
+ mutable a : int;
+};;
+
+{ a = 0 };;
+
+(**
+ 0 CONST0
+ 1 MAKEBLOCK1 0
+ 3 ATOM0
+ 4 SETGLOBAL T040-makeblock1
+ 6 STOP
+**)